Appearance
Documentation / js-sdk-core / updateWallet
Function: updateWallet()
updateWallet(
context
,wallet_id
,sign
,input
):Promise
<OAuthProviderType
>
Updates a wallet through the Wallet API.
Parameters
• context: WalletApiActionContext
The context needed to execute the action
• wallet_id: Object
The ID of the wallet to update
• wallet_id.wallet_id: string
• sign: SignWalletRequest
A function that signs a wallet request
• input: Input
The input to the Wallet API update request
Returns
Promise
<OAuthProviderType
>
The response from the Wallet API update request