Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt

Use this file to discover all available pages before exploring further.

Parameters

chainId
string
default:"toncoin"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"getAddressState"
required
JSON-RPC method name.
params
object
required
TON address state request.Parameters for getAddressState:
  • params.address: TON account address.

Returns

result
string
Account state. Example: “active”.
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=toncoin \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "getAddressState",
    "params": {
      "address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2"
    }
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "active"
}