/cosmos/auth/v1beta1/address_by_id/{id}

AccountAddressByID returns account address based on account number.

Parameters:

id-string,id is the account number of the address to be queried.

Example:

// Request
curl -X GET -H 'Content-Type: application/json' https://zetachain.blockpi.network/lcd/v1/<your-api-key>/cosmos/auth/v1beta1/address_by_id/0

// Result
{
  "account_address": "zeta18wqarvdsvm3sdq86xf4mlnev0wqtvcgg4vnl95"
}

Last updated

Was this helpful?

OSZAR »