Skip to main content
Protocol
protocol WalletService : Sendable

Instance Properties

isProductionEnvironment

var isProductionEnvironment: Bool { get }

Instance Methods

addSigner(_:chainType:chainName:)

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

createWallet(_:)

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

fund(_:)

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

getWallet(_:)

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

registerTypedSigner(_:chainType:chainName:)

func registerTypedSigner(_ signer: any AdminSignerData, chainType: ChainType, chainName: String) async throws(WalletError) -> AddDelegatedSignerResponse

removeSigner(_:chainType:chainName:)

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