Wallets
List Wallets
List Wallets
GET
https://nchain.provide.services/api/v1/wallets
Returns a list of wallets in the authorized scope
Headers
Name | Type | Description |
---|---|---|
authorization | string | bearer scoped to an
,
or
|
Create Wallet
Create Wallet
POST
https://nchain.provide.services/api/v1/wallets
Creates an HD (hierarchical deterministic)
Wallet
in accordance with BIP32.. A
Wallet
may be setup as custodial or non-custodial. If the wallet is custodial then the platform will derive addresses and securely persist an
Account
for each of those derived addresses.
Headers
Name | Type | Description |
---|---|---|
authorization | string | bearer scoped to an
,
or
|
Request Body
Name | Type | Description |
---|---|---|
key_id | string | id of key to be used to derive
|
purpose | string | specification to be used by the HD node subtree; set to 44 for 44' (i.e., 0x8000002C following the BIP43 recommendation) |
user_id | string | id of host
|
vault_id | string | id of host
|
List Wallet Accounts
List Wallet Accounts
GET
https://nchain.provide.services/api/v1/wallets/:id/accounts
Retrieves a list of
Account
instances for a specified
Wallet
Path Parameters
Name | Type | Description |
---|---|---|
id | string | id of host
|
Headers
Name | Type | Description |
---|---|---|
authorization | string | bearer scoped to an
,
or
|
Last updated