Native Api

Auth API

4min

accounts - Query the information of the specified address

parameter

address - Account address

return value

Return a JSON object, the structure is as follows:

  • height: Block height
    • result: result
      • type": Account Type
      • value: value
        • name: name
        • address: Account address
        • sub_addresses: Sub account
        • coins: Token denom: Token name amount: Number of tokens
        • public_key: public key
        • account_number: Number of accounts
        • sequence: nonce value
        • code_hash: Contract hash
        • ethAddress: Corresponding Ethereum address

Sample code

request:

Curl


response:

JSON




Updated 25 Mar 2024
Doc contributor
Did this page help you?