Skip to content

Get a single account

GET/accounts/{id}

Path parameters

NameTypeDescriptionRequired
id
string
Id of the target account

Response schema

{
// Internal unique identifier
id: string;
// Legacy internal unique identifier (for retro-compatibility)
legacyId: number;
// Name
name: string;
// Will be deprecated soon, use network instead. Currency
currency: string;
// Network (Same as currency for now)
network: string;
// Token contract address for Token account
contractAddress: string | null;
// BIP44 account index
index: number;
// Derivation path
derivationPath: string;
// Status
status: "ACTIVE" | "INACTIVE";
// Creation timestamp
createdAt: string;
// Last modification timestamp
updatedAt: string;
// Account asset fields
asset:
|
Raw signing account
|
Bitcoin-like
|
Canton-like
|
Cardano-like
|
Ethereum-like
|
Generic-like
|
Polkadot-like
|
Ripple-like
|
Solana-like
|
Stellar-like
|
Sui-like
|
Tezos-like
|
Tron-like
// Governance fields
governance:
|
Classic
|
Tradelink
}

Examples

bash
curl \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer {jwt}" \
  "$API_BASE_URL/accounts/{id}"
ts
const url = "<base-url>/accounts/{id}";

const headers = {
  "Content-Type": "application/json",
  Authorization: "Bearer <jwt>"
};

fetch(url, { headers }).then(res => {
  console.log(res)
});
python
import requests

url = "<base-url>/accounts/{id}"

headers = {
  "Content-Type": "application/json",
  "Authorization": "Bearer <jwt>"
}

print(requests.get(url, headers=headers))