Skip to main content

Set Chain by Id

By default your Chain Id is defined in your SequenceConfig.ini file. Use this function to change it during runtime.
  • Blueprint
  • C++
NewChainId (int64)The new chain id, such as 421614 for Arbitrum Sepolia.

Get Native Token Balance

Use the Indexer API to retrieve the Ether balance for a specified wallet address, such as the local user’s address.
  • Blueprint
  • C++
Wallet Address (FString)The wallet address from which you want to retrieve data.
Balance (Integer64)The amount of Ether owned by the specified wallet address.

Get Token Balances

Retrieve the user’s token balances for ERC20, ERC721, and ERC1155 tokens. This will return an array of all tokens owned by the user.
  • Blueprint
  • C++
Contract Address (FString)An ERC20, ERC721 or ERC1155 contract address from which you want to retrieve data.Wallet Address (FString)The wallet address which owns tokens on the specified contract address.Include Metadata (Boolean)Enable this flag if you want to receive token metadata in the response.
Balances (SeqGetTokenBalancesReturn Struct)Contains a SeqTokenBalance array that lists all token IDs owned by the specified wallet address. ” + “If ‘Include Metadata’ is set to true, token metadata is also included.

Get Token Supplies

Retrieve the token supplies for an ERC20, ERC721, or ERC1155 token.
  • Blueprint
  • C++
Contract Address (FString)An ERC20, ERC721 or ERC1155 contract address from which you want to retrieve token supplies.Include Metadata (Boolean)Enable this flag if you want to receive token metadata in the response.
Supplies (SeqGetTokenSuppliesReturn Struct)Contains a SeqTokenSupply array that lists all token IDs available on the specified contract address. ” + “Each element contains a ‘supply’ value. If ‘Include Metadata’ is set to true, token metadata is also included.

Get Token Supplies Map

Retrieve a collection of token supplies for ERC20, ERC721, or ERC1155 tokens.
  • Blueprint
  • C++
Token Map (FString->FSeqTokenList Map))A map of token IDs that you want to retrieve data from.Include Metadata (Boolean)Enable this flag if you want to receive token metadata in the response.
Supplies (SeqGetTokenSuppliesMapReturn Struct)Contains a SeqTokenSupply array for each specified ID in the ‘Token Map’. ” + “Each element contains a ‘supply’ value. If ‘Include Metadata’ is set to true, token metadata is also included.

Get Transaction History

Retrieve the transaction history for a wallet- or token address. For example, here we get all transactions for the current user.
  • Blueprint
  • C++
Account Address (FString)Specify a wallet address if you want to receive the history for a specific user.Contract Address (FString)Specify an ERC20, ERC721 or ERC1155 contract address if you want to receive the history for a specific token.Include Metadata (Boolean)Enable this flag if you want to receive token metadata in the response.
Transaction History (SeqGetTransactionHistoryReturn Struct)Contains a SeqTransaction array that lists all transactions.

Runtime Status

Retrieve the runtime status of the current chain. For example, call this function to get the latest block number.
  • Blueprint
  • C++
Status (SeqRuntimeStatus Struct)Object containing all details related to the status of our Indexer.Error (FString)Error message containing more details on why the request failed.

Version

Retrieve the version of the current chain.
  • Blueprint
  • C++
Web Rpc Version (FString)TBD.Schema Version (FString)TBD.Schema Hash (FString)TBD.App Version (FString)TBD.Error (FString)Error message containing more details on why the request failed.

Ping

Ping the indexer to check if our endpoint is alive and ready.
  • Blueprint
  • C++
Success (bool)True if the indexer is running.Error (FString)Error message containing more details on why the request failed.