getOrCreateWallet<Get or create a walletT
>(type
,args
,options
?):Promise
<WalletTypeToWallet
[T
]>
Type Parameter |
---|
T extends keyof WalletTypeToArgs |
Parameter | Type | Description |
---|---|---|
type | T | Wallet type |
args | WalletTypeToArgs [T ] | Wallet data |
options ? | WalletOptions | Wallet options |
Promise
<WalletTypeToWallet
[T
]>
A new wallet
getWallet<Get an existing wallet by addressT
>(address
,type
,args
,options
?):Promise
<WalletTypeToWallet
[T
]>
Type Parameter |
---|
T extends keyof WalletTypeToArgs |
Parameter | Type | Description |
---|---|---|
address | string | Wallet address |
type | T | Wallet type |
args | WalletTypeToArgs [T ] | Wallet data |
options ? | WalletOptions | Wallet options |
Promise
<WalletTypeToWallet
[T
]>
A wallet
Initialize the Wallets SDKstatic
from(crossmint
):CrossmintWallets
Parameter | Type | Description |
---|---|---|
crossmint | Crossmint | Crossmint data (use createCrossmint to initialize) |
CrossmintWallets
A new CrossmintWallets instance