coinbase / coinbase-python

DEPRECATED — Coinbase Python API
Apache License 2.0
528 stars 217 forks source link

Bug with get_address_transactions #48

Closed fostiropoulos closed 6 years ago

fostiropoulos commented 7 years ago

So I am using coinbase API and the python library available by them.

accounts = client.get_accounts()

accountId=accounts["data"][0]["id"]    
print(client.get_address_transactions(accountId, id))

The above returns

{
  "data": []
}

But if I do:

txs = client.get_transactions(accountId)
print(txs["data"][0])

I get the following results:

{
  "address": {
    "id": id, 
    "resource": "address", 
    "resource_path": 
  }, 
  ......
  "status": "completed", 
  "type": "send"
}

It doesn't make sense, I have send money to myself to test this feature and the transactions don't seem to show in that api call.

The IDs are the same

ghost commented 7 years ago

Did you find a solution to this? I am also having result: "data": [] I want the result to be my transactions.

sds commented 6 years ago

Hey @fostiropoulos, thanks for the report.

Since this appears to be an issue with values returned from the API (and not an issue with this Python package), please contact our support team to assist with figuring this out. Thanks!