Account information returned by the API.

interface AccountInfo {
    session?: null | SessionInfo;
    trade_account: null | TradeAccount;
    trade_account_id: null | TradeAccountId;
}

Properties

session?: null | SessionInfo

Active session info, if any.

trade_account: null | TradeAccount

The on-chain trade account state, or null if not found.

trade_account_id: null | TradeAccountId

The trade account contract ID, or null if no account exists.