Testnet Assets
Get up and running quickly with our Walletify API
Test Assets
As soon as you sign up for a trial/paid subscription, we create for you your first testnet user and a first MATIC wallet in the sandbox environment. which contains the following digital assets:
1 MATIC Token
100 Quantum Test Tokens (ERC20)
1 NFT
Upon activation, these assets are automatically deposited into your wallet, allowing immediate testing of our API endpoints. You can instantly explore functionalities such as wallet creation, message signing, token or NFT transfers, and the creation of signing methods for new users.
👍Since all wallets are secure, when we create your first user we also created his first signing method. It is a PIN signing method. That PIN is then used to secure his first wallet.
123456 is the default PIN for your user that is used to access your wallet.
Authentication
📘Learn more on how to authenticate.
How to access your assets
Follow this short API tutorial which takes you through all the basic API calls required to access your funds:
1. Retrieve your userId and signingMethodId
userId and signingMethodIdIn this first API call, we will retrieve all users. A user can have multiple wallets linked to them. As explained at the start, the MATIC wallet, which is created automatically with the assets is also linked to a user. When you call this endpoint it will only return one user, which is your user.
Firstly, we want to retrieve the
userId, which is the unique ID of your user.Secondly, we want to retrieve the
signingMethodId, which is used to access the wallets linked to the user.
📘Read more about users and signing methods.
Call the following endpoint to retrieve all users:
Request Endpoint: reference
HTTP
includeSigningMethods
Query
Flag that indicates to show the signing method details of the users or not.
Boolean
true
Response Body:
📘Save the following params for later use:
result.idwhich is theuserId
result.signingMethods.idwhich is thesigningMethodId
JSON
2. Retrieve your walletId and wallet address
walletId and wallet addressNext, we will retrieve all wallets linked to a specific user. When you call this endpoint it will only return one wallet, which is your MATIC wallet.
Call the following endpoint to retrieve all wallets:
Request Endpoint: reference
HTTP
userId
Query
Filter wallets by user ID. Add your userId which you got from the previous endpoint.
String
Response Body
👍The response body shows the
balanceparam as 1, indicating you have one MATIC token.
📘Save the following params for later use:
result.idwhich is thewalletId
result.addresswhich is the walletaddress
JSON
3. Retreive ERC20 token balance
Next, we will call the following endpoint to receive the ERC20 token balance of your wallet:
Request Endpoint: reference
HTTP
{walletId}
Path
The ID of your wallet, which you got from the previous endpoint.
String
✅
Request Example
HTTP
Response Body
👍The response body shows the
balanceparam as 100, indicating you have 100 ERC20 tokens.
JSON
4. Retrieve NFTs
Next, we will call the following endpoint to get NFTs in your wallet:
Request Endpoint: reference
HTTP
{walletId}
Path
The ID of the wallet, which you got from the previous endpoint.
String
✅
Response Body
👍The response body will show your NFT.
JSON
Next Steps
👍Following are a few basic guides that you should try next to experiment with your assets:
Last updated