Skip to main content
You are viewing docs for the previous version of the Wallets SDK. We recommend upgrading to V1. See the updated version of this page or the V1 migration guide.
Defined in: packages/wallets/src/wallets/stellar.ts:15

Extends

Constructors

new StellarWallet()

new StellarWallet(wallet): StellarWallet
Defined in: packages/wallets/src/wallets/stellar.ts:16

Parameters

Returns

StellarWallet

Overrides

Wallet.constructor

Properties

Methods

addDelegatedSigner()

addDelegatedSigner<T>(params): Promise<T extends PrepareOnly<true> ? object : void>
Defined in: packages/wallets/src/wallets/wallet.ts:465 Add a delegated signer to the wallet

Type Parameters

Parameters

Returns

Promise<T extends PrepareOnly<true> ? object : void>

Inherited from

Wallet.addDelegatedSigner

approve()

approve<T>(params): Promise<ApproveResult<T>>
Defined in: packages/wallets/src/wallets/wallet.ts:423 Approve a transaction or signature

Type Parameters

Parameters

Returns

Promise<ApproveResult<T>> The transaction or signature

Inherited from

Wallet.approve

approveTransaction()

approveTransaction(params): Promise<Error>
Defined in: packages/wallets/src/wallets/wallet.ts:399

Parameters

Returns

Promise<Error> The transaction

Deprecated

Use approve instead. Approve a transaction

Inherited from

Wallet.approveTransaction

balances()

balances(tokens?): Promise<Balances<"stellar">>
Defined in: packages/wallets/src/wallets/wallet.ts:118 Get the wallet balances - always includes USDC and native token (ETH/SOL)

Parameters

Returns

Promise<Balances<"stellar">> The balances returns nativeToken, usdc, tokens

Throws

If the balances cannot be retrieved

Inherited from

Wallet.balances

delegatedSigners()

delegatedSigners(): Promise<DelegatedSigner[]>
Defined in: packages/wallets/src/wallets/wallet.ts:554 List the delegated signers for this wallet.

Returns

Promise<DelegatedSigner[]> The delegated signers

Inherited from

Wallet.delegatedSigners

experimental_activity()

experimental_activity(): Promise<WalletsV1Alpha2ActivityResponseDto>
Defined in: packages/wallets/src/wallets/wallet.ts:312 Experimental Get the wallet activity

Returns

Promise<WalletsV1Alpha2ActivityResponseDto> The activity This API is experimental and may change in the future

Throws

If the activity cannot be retrieved

Inherited from

Wallet.experimental_activity

experimental_apiClient()

experimental_apiClient(): WalletsApiClient
Defined in: packages/wallets/src/wallets/wallet.ts:101 Experimental Get the API client

Returns

WalletsApiClient The API client This API is experimental and may change in the future

Inherited from

Wallet.experimental_apiClient

experimental_nfts()

experimental_nfts(params): Promise<WalletNftsResponseDto>
Defined in: packages/wallets/src/wallets/wallet.ts:272 Experimental Get the wallet NFTs

Parameters

Returns

Promise<WalletNftsResponseDto> The NFTs This API is experimental and may change in the future

Inherited from

Wallet.experimental_nfts

experimental_transaction()

experimental_transaction(transactionId): Promise<WalletsTransactionV2025ResponseDto>
Defined in: packages/wallets/src/wallets/wallet.ts:298 Get a transaction by id

Parameters

Returns

Promise<WalletsTransactionV2025ResponseDto> The transaction

Throws

If the transaction cannot be retrieved

Inherited from

Wallet.experimental_transaction

experimental_transactions()

experimental_transactions(): Promise<GetTransactionsResponse>
Defined in: packages/wallets/src/wallets/wallet.ts:285 Get the wallet transactions

Returns

Promise<GetTransactionsResponse> The transactions

Throws

If the transactions cannot be retrieved

Inherited from

Wallet.experimental_transactions

send()

send<T>(to, token, amount, options?): Promise<Transaction<T extends PrepareOnly<true> ? true : false>>
Defined in: packages/wallets/src/wallets/wallet.ts:335 Send a token to a wallet or user locator

Type Parameters

Parameters

Returns

Promise<Transaction<T extends PrepareOnly<true> ? true : false>> The transaction

Inherited from

Wallet.send

sendTransaction()

sendTransaction<T>(params): Promise<Transaction<T extends PrepareOnly<true> ? true : false>>
Defined in: packages/wallets/src/wallets/stellar.ts:50 Send a raw Stellar transaction (serialized transaction or contract call).

Type Parameters

Parameters

Returns

Promise<Transaction<T extends PrepareOnly<true> ? true : false>> The transaction result

stagingFund()

stagingFund(amount, chain?): Promise<FundWalletResponse>
Defined in: packages/wallets/src/wallets/wallet.ts:166 Funds the wallet with Crossmint’s stablecoin (USDXM). Note: This method is only available in staging environments and exclusively supports USDXM tokens. It cannot be used in production environments.

Parameters

Returns

Promise<FundWalletResponse> The funding response

Throws

If the funding operation fails or if called in a production environment

Inherited from

Wallet.stagingFund

from()

static from(wallet): StellarWallet
Defined in: packages/wallets/src/wallets/stellar.ts:30

Parameters

Returns

StellarWallet