Get an Account by ID

Get an account by ID

get

This method returns the account that matches the entered ID.

Authorizations
X-Ledger-API-UserstringRequired

(required) Username of a registered API User

Path parameters
account_idintegerRequired

The account's ID

Responses
chevron-right
200

Account object

application/json
addressstring · nullableOptional

The public address of the account (if any). Note that you should use the /accounts/:id/addresses endpoint to retrieve a trusted public address.

Default: nullExample: 2S4wKimi4PHKjdTYdzqN5HcEcNBM4Hv9db9QWKaZCxEr
available_balancestringRequiredExample: 1337Pattern: ^[0-9]*(\.[0-9]+)?$
balancestringRequiredExample: 1338Pattern: ^[0-9]*(\.[0-9]+)?$
coin_fieldsone of · nullableOptionalDefault: null
or
or
or
or
contract_addressstring · nullableOptionalDefault: null
created_byintegerRequiredExample: 5
created_onstring · date-timeRequired
currencystring · enumRequiredExample: bitcoinPossible values:
derivation_pathstring · nullableOptionalDefault: nullExample: 44'/0'/0'
idintegerRequired
indexintegerRequiredExample: 0
last_requestinteger · nullableOptionalDefault: nullExample: 3
namestringRequiredExample: hot wallet 1
parentinteger · nullableOptionalDefault: null
pending_balancestringRequiredExample: 42Pattern: ^[0-9]*(\.[0-9]+)?$
statusstring · enumRequiredExample: ACTIVEPossible values:
typestring · enumRequiredExample: BitcoinPossible values:
xpubstring · nullableOptional

The Extended Public Key of the account (if any). Note that you should use the /accounts/:id/addresses endpoint to retrieve and share a trusted public address. Only API Operators with view-all rights can retrieve the XPUB.

Default: nullExample: xpub6DGnkaitcjHaKFY18sqWhT3ghE6WWCS61BWn6BwmfzTvr3GHis274GFmXwh4P46s6ikgGEoFjzq4R3KyhUwkkGnXdrpha4QGo3n7PPSehvR
get
/accounts/{account_id}

Last updated