Skip to main content
CDP Wallet Account implementation for Solana accounts. This class represents a Solana account within the CDP wallet ecosystem.

Implements

  • WalletAccount

Accessors

address

Get Signature

Get the base58 encoded address of this account.
Returns
string The base58 encoded Solana address

Implementation of


publicKey

Get Signature

Get the public key bytes of this account.
Returns
Uint8Array<ArrayBuffer> A copy of the public key bytes

Implementation of


chains

Get Signature

Get the supported chains for this account.
Returns
readonly ["solana:mainnet", "solana:devnet"] Array of supported Solana chains

Implementation of


features

Get Signature

Get the supported features for this account.
Returns
readonly ["solana:signAndSendTransaction", "solana:signTransaction", "solana:signMessage"] Array of supported wallet standard features

Implementation of

Constructors

Constructor

Create a new CDP Wallet Account.

Parameters

Returns

CdpWalletAccount

Throws

If publicKey is null, undefined, or not exactly 32 bytes