我正在使用coinbase api来进行地址交易,当我使用比特币地址时,它总是成功的,但是当分别提供具有正确帐户ID的莱特币和以太坊地址时,返回404。 这是我的代码:
from coinbase.wallet.client import Client
client = Client(API_KEY, API_SECRET)
#This works
response = client.get_address_transactions(btc_id,'bitcoin-address')
#returns correct response
#This doesn't work
response = client.get_address_transactions(ltc_id,'litecoin-address')
#returns coinbase.wallet.error.NotFoundError: APIError(id=not_found): Not found
#This doesn't work
response = client.get_address_transactions(eth_id,'ethereum-address')
#returns coinbase.wallet.error.NotFoundError: APIError(id=not_found): Not found
我直接使用了python请求并获得相同的响应。我在做什么错