Get Account
GET/api/v1/accounts/:accountAddress
Free [3 Credits]
Retrieve an account.
Request
Path Parameters
accountAddress stringrequired
account address
Responses
- 200
OK
- */*
- Schema
- Example (from schema)
Schema
address Address (string)required
accountType Account Type (string)required
Possible values: [EOA
, SCA
, UNKNOWN
]
Example:
EOA, SCA
balance Balance (number)required
totalTransactionCount int64required
contract
object
contractAddress Contract Address (string)required
contractType Contract Type (string)
Possible values: [ERC20
, KIP7
, KIP17
, KIP37
, ERC721
, ERC1155
, CONSENSUS_NODE
, CUSTOM
, UNKNOWN
, UNKNOWN_
]
contractCreatorAddress Contract Creator Address (string)
contractCreatorTransactionHash Contract Creator Transaction Hash (string)
contractCreated Contract Created (boolean)
accountKey
object
type stringrequired
Possible values: [AccountKeyLegacy
, AccountKeyPublic
, AccountKeyFail
, AccountKeyWeightedMultiSig
, AccountKeyRoleBased
]
{
"address": "string",
"accountType": "EOA, SCA",
"balance": 0,
"totalTransactionCount": 0,
"contract": {
"contractAddress": "string",
"contractType": "ERC20"
},
"contractCreatorAddress": "string",
"contractCreatorTransactionHash": "string",
"contractCreated": true,
"accountKey": {
"type": "AccountKeyLegacy"
}
}
Loading...