Wallet Addresses

Wallet Addresses Functions

Get address

Description

Returns the address of the user's wallet

Parameters

NameTypeRequiredDefaultDescription

blockchainId

String

✔️

Blockchain id

userId

String

✔️

User id

Return type

Promise<string>

Usage Example

const walletAddress = await sdk.wallet.getAddress({
  blockchainId: 'ethereum',
  userId: '123',
})

Get addresses

Description

Returns the list of wallet addresses

Parameters

NameTypeRequiredDefaultDescription

blockchainIds

String[]

defaultBlockchainIds

Blockchain ids

userId

String

✔️

User id

Return type

Promise<{[blockchainId: string]: string}>

Usage Example

const walletAddresses = await sdk.wallet.getAddresses({ userId: '123' })

Last updated