Check Royalties of a token

Returns 10 calls, where signature name is getRoyalty: arguments name, integer, string, value address, big integer, hex and bool.

By gaurav · saved 9 December 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  EVM {
    Calls(
      limit: {count: 10}
      where: {Call: {Signature: {Name: {is: "getRoyalty"}}}, Arguments: {includes: {Name: {is: "tokenAddress"}, Value: {Address: {is: "0xd3d9ddd0cf0a5f0bfb8f7fceae075df687eaebab"}}}}}
    ) {
      Arguments {
        Name
        Value {
          ... on EVM_ABI_Integer_Value_Arg {
            integer
          }
          ... on EVM_ABI_String_Value_Arg {
            string
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
          ... on EVM_ABI_Bytes_Value_Arg {
            hex
          }
          ... on EVM_ABI_Boolean_Value_Arg {
            bool
          }
        }
      }
    }
  }
}

Similar queries