⛏️fetchAccountHash
Description
The fetchAccountHash
function takes a public key as input, converts it to an account hash using a third-party API, and returns the account hash as a string.
Parameters
Name | Type | Description |
---|---|---|
| string | The public key of the user's wallet |
Response
Name | Type | Description |
---|---|---|
| string | The account hash of the user's wallet |
Example Request and Response
Prerequisites
Before making requests with Nest SDK, you must have it installed.
You can install Nest SDK using either npm
or yarn
. Use the following commands to install Nest SDK:
Request
Here is an example of how to make a fetchAccountHash
request using the Nest SDK:
Response
Use Cases
Crypto Wallets: The function can be used by crypto wallets to retrieve the account hash of a user's wallet for transaction purposes.
Payment Gateways: The function can be used by payment gateways to retrieve the account hash of a user's wallet for payment processing.
Last updated