Error in v1 api when get transfers or transactions in ethereum function

when i call this query
query MyQuery {
ethereum(network: bsc) {
transfers(receiver: {is: “0x7f38d96e890e193709D761a3272dB969430EBD83”}) {
amount
currency {
address
decimals
}
}
}
}

then i get this error

ActiveRecord::ActiveRecordError: Response code: 500: Code: 407, e.displayText() = DB::Exception: Decimal convert overflow: while converting source column divider to destination column divider (version 20.8.11.17 (official build))

1 Like

Hi, your query is wrongly formatted. Try this query - bsc transfers query - Blockchain Data API

And please don’t use v1 apis for bsc, we will be sunsetting those. Please use v2 bsc APIs -

Check BSC v2 transfers docs here - BSC Transfers API | Blockchain Data API (V2)

1 Like