Usage without UI
If you don't want to use the pre-built react UI components, we also expose a core package that you can use with your custom UI.
Installation
Usage
User Balances
You can use the fetchBalance
function to balances of a wallet
Parameters -
restUrl
- base URL of the nodeaddress
- wallet addressparams
(optional) -
Return Value -
A list of object of the following type
User Transactions
You can use the fetchTransactions
function
Parameters -
restUrl
- base URL of the nodeaddress
- wallet addressparams
- pagination and related parameters
Return Value -
The return value is an object with two properties -
total - the total number of transactions for this address
transactions - the list of transactions on the current page (pagination)
Last updated