post https://das-account-indexer-public.unifra.io
Parameters
{
"account": "phone.bit",
"account_id": ""
}
Returns
data
- tx_hash
- indesx
account_info
- account
- account_id_hex
- nextaccount_hex
- create_at_unix
- expired_at_unix
- status
- das_ lock_arg_hex
- owner_algorithm_id
- owner_key
- manager_algorithm_id
- manager_key
Example
Requset
curl --location --request POST 'https://das-account-indexer-public.unifra.io' \
--header 'Content-Type: text/plain' \
--data-raw '{"jsonrpc": "2.0","id": 1,"method": "das_accountInfo","params": [{"account":"phone.bit"}]}'
Result
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"errno": 0,
"errmsg": "",
"data": {
"out_point": {
"tx_hash": "0xa80ecff4caa912373f1808f93ec6e79c8d01cdc3f1f04c9949142dcb8210d974",
"index": 1
},
"account_info": {
"account": "phone.bit",
"account_alias": "phone.bit",
"account_id_hex": "0x5f560ec1edc638d7dab7c7a1ca8c3b0f6ed1848b",
"next_account_id_hex": "0x5f58c3b67835683eacec37ea1c6bb2fbad586d96",
"create_at_unix": 1666268687,
"expired_at_unix": 1697804687,
"status": 0,
"das_lock_arg_hex": "0x05cd9b41e089f73e7907d5cc2825449d86dece616905cd9b41e089f73e7907d5cc2825449d86dece6169",
"owner_algorithm_id": 5,
"owner_key": "0xcd9b41e089f73e7907d5cc2825449d86dece6169",
"manager_algorithm_id": 5,
"manager_key": "0xcd9b41e089f73e7907d5cc2825449d86dece6169"
}
}
}
}