Wallets

Get wallets by public key

GEThttps://ton-open-api.nownodes.io/v2/pubkeys/{public_key}/wallets
Path parameters
public_key*string
Example: "NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3..."
Response

a list of wallets

Body
accounts*array of Account (object)
Request
const response = await fetch('https://ton-open-api.nownodes.io/v2/pubkeys/{public_key}/wallets', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "accounts": [
    {
      "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
      "balance": 123456789,
      "last_activity": 123456789,
      "status": "active",
      "interfaces": [
        "nft_sale"
      ],
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "memo_required": true,
      "get_methods": [
        "get_item_data"
      ],
      "is_suspended": false,
      "is_wallet": false
    }
  ]
}