BNB SDK byte error

用sdk根据hashId查询,返回字节报错问题

3 Likes

You are querying on BSC mainnet or testnet?

2 Likes

https://dex.binance.org/api/v1/tx/, 应该是主网

2 Likes

The SDK is for Beacon Chain, please query with BC transaction hash.

4 Likes