Create and manage blockchain wallets for profiles and organizations. Wallets are associated with specific blockchain networks.
Methods
createWallet()
Create a new wallet for a profile.
Signature:
Parameters:
| Parameter | Type | Required | Description |
|---|
request.reference | string | Yes | Profile reference |
request.networkId | string | Yes | Network ID (from getNetworks()) |
Example:
getWalletsByProfile()
Get all wallets for a specific profile.
Signature:
Parameters:
| Parameter | Type | Required | Description |
|---|
reference | string | Yes | Profile reference |
request.skip | number | No | Number of records to skip |
request.take | number | No | Number of records to retrieve |
Example:
getWalletsForOrganization()
Get all wallets for the organization.
Signature:
Parameters:
| Parameter | Type | Required | Description |
|---|
request.skip | number | No | Number of records to skip |
request.take | number | No | Number of records to retrieve |
Example:
Note: When using createAddressV2(), wallets are automatically created if they don’t exist, so you may not need to explicitly create wallets in most cases.
Complete Example