Get Account Records Info

Parameters

{
  "account": "phone.bit"
}

Returns

{
  "errno": 0,
  "errmsg": "",
  "data": {
    "account": "phone.bit",
    "records": [
      {
        "key": "address.btc",
        "label": "Personal account",
        "value": "3EbtqPeAZbX6wmP6idySu4jc2URT8LG2aa",
        "ttl": "300"
      },
      {
        "key": "address.eth",
        "label": "Personal account",
        "value": "0x59724739940777947c56C4f2f2C9211cd5130FEf",
        "ttl": "300"
      }
      // ...
    ]
  }
}

Example

Requset

curl --location --request POST 'https://das-account-indexer-public.unifra.io' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0","id": 1,"method": "das_accountRecords","params": [{"account":"phone.bit"}]}'

Result

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "errno": 0,
        "errmsg": "",
        "data": {
            "account": "phone.bit",
            "records": [
                {
                    "key": "address.eth",
                    "label": "",
                    "value": "0xCD9B41E089F73e7907D5cc2825449D86Dece6169",
                    "ttl": "300"
                }
            ]
        }
    }
}
Language
Click Try It! to start a request and see the response here!