Wallet
Module endpoints
GET /wallets
GET /wallets
GET
https://api.slyk.io/wallets
Retrieves a paginated list of wallets
.
Name | Type | Example |
id |
|
|
locked |
|
|
name |
|
|
ownerId |
|
|
reference |
|
|
The name
filter performs a SQL
query using the like
operator.
GET /wallets/:id
GET /wallets/:id
GET
https://api.slyk.io/wallets/:id
Gets the wallet details of the given id
.
GET /wallets/:id/activity
GET /wallets/:id/activity
GET
https://api.slyk.io/wallets/:id/activity
Returns the wallet
activity of the given id
.
Name | Type | Example |
assetCode |
|
|
code |
|
|
status |
|
|
type |
|
|
GET /wallets/:id/balance
GET /wallets/:id/balance
GET
https://api.slyk.io/wallets/:id/balance
Retrieves a wallet's balance for the various assets it contains. Only assets that were ever transacted on the wallet will be shown (even if their balance is currently zero).
Name | Type | Example |
assetCode |
|
|
GET /wallets/:id/movements
GET /wallets/:id/movements
GET
https://api.slyk.io/wallets/:id/movements
Convenience endpoint to get a paginated list of movements
from the wallet of the given id
.
Name | Type | Example |
assetCode |
|
|
GET /wallets/:id/transactions
GET /wallets/:id/transactions
GET
https://api.slyk.io/wallets/:id/transactions
Convenience endepoint endpoint to get a paginated list of transactions
where the wallet id
may be either the destinationWalletId
or the originWalletId
of the Transaction object.
Name | Type | Example |
assetCode |
|
|
code |
|
|
status |
|
|
type |
|
|
GET /wallets/activity
GET /wallets/activity
GET
https://api.slyk.io/wallets/activity
Returns the wallets
activity.
Name | Type | Example |
assetCode |
|
|
code |
|
|
status |
|
|
type |
|
|
GET /wallets/balance
GET /wallets/balance
GET
https://api.slyk.io/wallets/balance
Retrieves a Slyk balance for the various assets it contains. Only assets that were ever transacted on the wallet will be shown (even if their balance is currently zero).
Name | Type | Example |
assetCode |
|
|
PATCH /wallets/:id
PATCH /wallets/:id
PATCH
https://api.slyk.io/wallets/:id
Patch the wallet
details of the given id
.
Name | Type | Required | Description |
customData |
|
| Custom data object |
locked |
|
| Wallet lock status |
ownerId |
|
| Wallet owner |
POST /wallets
POST /wallets
POST
https://api.slyk.io/wallets
Creates a new wallet
.
Name | Type | Required | Description |
customData |
|
| Custom data object |
locked |
|
| Wallet lock status |
name |
|
| Wallet Name |
ownerId |
|
| Wallet owner |
Last updated