Accounts

Get account

GEThttps://api.firstleeward.com/v0/accounts/:id

Retrieves account details and chain addresses, each listing the assets that address accepts - send only those, as a deposit of anything else fails with ASSET_NOT_ACCEPTED. List responses omit the accepted assets, so read them from here. Use GET /accounts/:id/balance to retrieve balance information.

Authorizations

Authorizationstring · headerrequired

API key as Bearer token, e.g. Bearer YOUR_API_KEY

Headers

Leeward-Versionenum<string>required

API version (YYYY-MM-DD). Available option: 2026-09-18

Path Parameters

idstring<uuid>required

Account ID

Response

200Account resource with accepted deposit assets
idstring<uuid>required

Unique account identifier

statusstringrequired

Current account status

Available options:ACTIVERESTRICTED
ownerTypestringrequired

Type of entity that owns this account

Available options:USERCOMPANYPROJECT
ownerIdstring<uuid> | nullrequired

Owner entity ID (user or company). Null for PROJECT-owned master accounts.

chainAddressesobject[]required

Deposit addresses by chain, each with the assets it accepts. Empty for accounts without provisioned wallets (user accounts on PROGRAM_FUNDED projects).

Show child attributes
chainIdstringrequired

Blockchain network identifier

Available options:ETHEREUM_MAINNETETHEREUM_SEPOLIABASE_MAINNETBASE_SEPOLIAARBITRUM_ONE_MAINNETARBITRUM_ONE_SEPOLIAPOLYGON_MAINNETPOLYGON_AMOYSOLANA_MAINNETSOLANA_DEVNET
addressstringrequired

Deposit address on this chain

acceptedAssetsobject[]required

Assets that can be deposited at this address. Depositing anything else fails with ASSET_NOT_ACCEPTED, so send only what is listed here. Empty when the chain is enabled but accepts no collateral yet.

Show child attributes
symbolstringrequired

Asset symbol

namestring | nullrequired

Full asset name

decimalsintegerrequired

Number of decimal places

logoUristring | nullrequired

URI to asset logo image

assetIdstringrequired

Token contract address, or a native asset identifier such as NATIVE_ETH. Unique within chainId, not across chains.

createdAtstringrequired

ISO 8601 timestamp of creation

updatedAtstringrequired

ISO 8601 timestamp of last update

404Account not found
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailobject | nullrequired