royaltyInfo for OpenZepplin NFTs

royaltyInfo for NFTs that use OpenZepplin

Returns the latest 10 calls on Ethereum, where signature name is royaltyInfo: arguments name, integer, string, value address, big integer, bool, hex and 6 more fields.

By Divyasshree N · saved 8 December 2023 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    #EIP-2981
    Calls(
      limit: {count: 10}
      where: {Call: {Signature: {Name: {is: "royaltyInfo"}}}}
      orderBy: {descending: Block_Time}
    ) {
      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_Boolean_Value_Arg {
            bool
          }
          ... on EVM_ABI_Bytes_Value_Arg {
            hex
          }
        }
      }
      Call {
        InternalCalls
        Signature {
          Name
          Signature
        }
      }
      Transaction {
        Hash
        To
      }
      Block {
        Time
      }
    }
  }
}

Similar queries