âĢSort Results

Learn how to use Airstack to get token-bound account results sorted in ascending or descending order by the creation block timestamp.

Get The Latest Token Bound Accounts Created

query MyQuery {
  Accounts(
    input: {order: {createdAtBlockTimestamp: DESC}, blockchain: ethereum, limit: 200}
  ) {
    Account {
      id
      standard
      blockchain
      tokenAddress
      tokenId
      address {
        identity
        blockchain
      }
      registry
      implementation
      salt
      createdAtBlockNumber
      createdAtBlockTimestamp
      creationTransactionHash
      deployer
      updatedAtBlockNumber
      updatedAtBlockTimestamp
    }
  }
}

Get The Earliest Token Bound Accounts Created

query MyQuery {
  Accounts(
    input: {order: {createdAtBlockTimestamp: DESC}, blockchain: ethereum, limit: 200}
  ) {
    Account {
      id
      standard
      blockchain
      tokenAddress
      tokenId
      address {
        identity
        blockchain
      }
      registry
      implementation
      salt
      createdAtBlockNumber
      createdAtBlockTimestamp
      creationTransactionHash
      deployer
      updatedAtBlockNumber
      updatedAtBlockTimestamp
    }
  }
}

Last updated

#300: add-user-details

Change request updated