Try it now
These open in a browser — no tools required.
/wallet/getnowblocklatest block
/wallet/listwitnessesvalidators
/wallet/getblockbynum?num=0genesis block
/wallet/getchainparametersnetwork settings
/wallet/getaccount?address=…any balance
Connect a wallet
In TronLink: Settings → Node Setting → Add Node.
Name BRICS Testnet Full Node https://api.testnet.brics.im Solidity Node https://api.testnet.brics.im Event Server https://api.testnet.brics.im
Your BRC balance appears where TRX normally would. Add token
contracts under Assets → Add Token.
Python
pip install tronpy
from tronpy import Tron
from tronpy.providers import HTTPProvider
c = Tron(HTTPProvider("https://api.testnet.brics.im"))
print(c.get_latest_block_number())
print(c.get_account_balance("TQvYhgk…"), "BRC")
JavaScript
npm install tronweb
const TronWeb = require('tronweb');
const tronWeb = new TronWeb({
fullHost: 'https://api.testnet.brics.im'
});
const b = await tronWeb.trx.getCurrentBlock();
Rate limits. 30 requests per second per IP for reads, 5 per second for
writes. Sustained abuse is blocked temporarily. Other nodes: if this one
is unavailable,
node2.testnet.brics.im and
node3.testnet.brics.im serve an identical API.