Skip to main content

Account API

Read account material from the device before you sign: the address and public key for a chainId + keyPath, the accounts registered on the device, an extended public key, and an address-picker dialog. syncAccount is the one call here that writes — it registers accounts on the device.

getAddress​

Retrieves the account address for a chainId + keyPath. Call before creating transactions. Supported on every network in the connector's chain list except Horizen and JuChain (unsupported_method); on DCENT X, BNB Beacon Chain (mainnet and testnet) fails with 5005 because the device does not list that coin — see Requirements for firmware.

getPublicKey​

Retrieves account public keys for any supported chain. Most chains return a single { keyPath, publicKey } for the path you asked for; Cardano on purpose 1852' returns its payment, stake and drep (governance) keys as a bundle in one call. This verb was split out of getAddress, which no longer returns Cardano's public-key bundle: getAddress returns the address plus a rewardAddress (stake address — Cardano only); a raw pubkey field may still appear on some networks. Use getPublicKey for public keys.

getAccountInfo​

Returns the list of accounts registered on the device as V2AccountInfo objects. Returns a typed V1Response<AccountListV2Payload>; the connector forwards the bridge-enriched response unchanged (no transform).

syncAccount​

Registers / synchronizes accounts on the device. Each item is validated (chainId charset + BIP-44 keyPath + label rule); chain resolution is delegated to the bridge.

getXPUB​

Returns a BIP-32 extended public key (XPUB) for a derivation path. Positional arguments — identical to v1.

selectAddress​

Opens a popup dialog letting the user pick one address from a provided list. Useful for account-selection UX driven from the bridge popup.