BSC Smart Contract Calls API
In this section we will see how to get BSC Smart contract calls information using our API.
Track Latest Created Tokens on BSC
This subscription websocket lets you track the newly created tokens on BSC network. You will find the newly created token contract address in the response under Receipt: ContractAddress
field.
You can find the query here
subscription {
EVM(network: bsc) {
Calls(
where: {Call: {Create: true}, Arguments: {length: {ne: 0}}, Receipt: {ContractAddress: {not: "0x0000000000000000000000000000000000000000"}}, TransactionStatus: {Success: true}}
) {
Arguments {
Name
Value {
... on EVM_ABI_Boolean_Value_Arg {
bool
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
}
}
Transaction {
Hash
}
Receipt {
ContractAddress
}
Block {
Time
}
}
}
}