Parameters
chainId
string
default:"toncoin"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"detectAddress"
required
JSON-RPC method name.
TON address detection request.Parameters for detectAddress:params.address: TON account address.
Returns
Detected TON address forms.
Bounceable address forms.
Non-bounceable address forms.
Detected type of the input address.
Whether the address is testnet-only.
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": "detectAddress",
"params": {
"address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2"
}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}