add wallet id to transaction_list call

This commit is contained in:
Alex Grintsvayg 2020-05-14 16:53:22 -04:00
parent 86d0678274
commit 07d2d00b0d
No known key found for this signature in database
GPG key ID: AEB3F089F86A22B5

View file

@ -473,10 +473,11 @@ func (d *Client) Status() (*StatusResponse, error) {
return response, d.call(response, "status", map[string]interface{}{})
}
func (d *Client) TransactionList(account *string, page uint64, pageSize uint64) (*TransactionListResponse, error) {
func (d *Client) TransactionList(account *string, wallet *string, page uint64, pageSize uint64) (*TransactionListResponse, error) {
response := new(TransactionListResponse)
return response, d.call(response, "transaction_list", map[string]interface{}{
"account_id": account,
"wallet_id": wallet,
"page": page,
"page_size": pageSize,
})