Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt

Use this file to discover all available pages before exploring further.

Protocol
protocol SmartWalletService : AuthenticatedService

Instance Properties

isProductionEnvironment

var isProductionEnvironment: Bool { get }

Instance Methods

addSigner(_:chainType:chainName:)

func addSigner(_ entry: DelegatedSignerEntry, chainType: ChainType, chainName: String) async throws(WalletError) -> AddDelegatedSignerResponse

approveSignature(_:)

func approveSignature(_ request: SignRequest) async throws(SignatureError)

createSignature(_:)

func createSignature(_ request: CreateSignatureRequest) async throws(SignatureError) -> any SignatureApiModel

createTransaction(_:)

func createTransaction(_ request: CreateTransactionRequest) async throws(TransactionError) -> any TransactionApiModel

createWallet(_:)

func createWallet(_ request: CreateWalletParams) async throws(WalletError) -> WalletApiModel

fetchSignature(_:chainType:)

func fetchSignature(_ signatureId: String, chainType: ChainType) async throws(SignatureError) -> any SignatureApiModel

fetchTransaction(_:)

func fetchTransaction(_ fetchTransactionRequest: FetchTransactionRequest) async throws(TransactionError) -> any TransactionApiModel

fund(_:)

func fund(_ request: FundWalletRequest) async throws(WalletError)

getBalance(_:)

func getBalance(_ params: GetBalanceQueryParams) async throws(WalletError) -> Balances

getNFTs(_:)

func getNFTs(_ params: GetNTFQueryParams) async throws(WalletError) -> [NFT]

getWallet(_:)

func getWallet(_ request: GetMeWalletRequest) async throws(WalletError) -> WalletApiModel

listTransfers(_:)

func listTransfers(_ params: ListTransfersQueryParams) async throws(WalletError) -> TransferListResult

removeSigner(_:chainType:chainName:)

func removeSigner(_ signerLocator: String, chainType: ChainType, chainName: String) async throws(TransactionError) -> any TransactionApiModel

signTransaction(_:)

func signTransaction(_ request: SignRequest) async throws(TransactionError) -> any TransactionApiModel

transferToken(chainType:tokenLocator:recipient:amount:signer:idempotencyKey:)

func transferToken(chainType: String, tokenLocator: String, recipient: String, amount: String, signer: String?, idempotencyKey: String?) async throws(TransactionError) -> any TransactionApiModel