Retrieve Company Minter Wallets
Retrieve the minter wallet addresses and their respective balances by blockchain.
1. Retrieve Company Minter Wallets by chain
chain
Request Endpoint: reference
GET /api/v2/wallets/{chain}
Parameter | Param Type | Description | Data Type | Mandatory |
---|---|---|---|---|
{chain} | Path | The blockchain to filter the result by | String | ✅ |
includeBalance | Query | This flag indicates whether to include the balance of company minter wallets in the response or not. | Boolean | ❌ |
Example Request:
GET /api/v2/wallets/MATIC?includeBalance=true
Response Body:
{
"success": true,
"result": [
{
"chain": "MATIC",
"address": "0xcb445780e77542d7046461ba72f17d20dc176eb0",
"balance": 1.5078641,
"symbol": "MATIC",
"rawBalance": "1507864100000000000",
"decimals": 18
},
{
"chain": "MATIC",
"address": "0xc647188ed41259164cf22d5a30fb70e4623f6acf",
"balance": 2,
"symbol": "MATIC",
"rawBalance": "2000000000000000000",
"decimals": 18
}
]
}
2. Retrieve All Company Minter Wallets
Request Endpoint: reference
GET /api/v2/wallets
Example Request:
GET /api/v2/wallets
Response Body:
{
"success": true,
"result": [
{
"chain": "MATIC",
"address": "0x1b12504681282d405f2449822b90f9fbe8b15448"
},
{
"chain": "ETHEREUM",
"address": "0x428ce28b11337e6aecefedb440568826c4c39646"
},
{
"chain": "AVAC",
"address": "0x5ee8b83af8d9b0ca302cbbc52d486b5de0db2ba0"
}
]
}
Updated 10 months ago