Skip to main content
Use this service to query USDT balances for any EVM address on peaq EVM. The call is read-only and does not require the address to exist in the local registry.

Service Reference

ServiceTypePurpose
/peaq_tether_node/usdt/balancepeaq_ros2_interfaces/srv/TetherGetUsdtBalanceReturn USDT balance for an address

Launch Prerequisites

ros2 run peaq_ros2_tether tether_node --ros-args \
  -p config.yaml_path:=/work/peaq_ros2_examples/config/peaq_robot.yaml

Check Balance

ros2 service call /peaq_tether_node/usdt/balance \
  peaq_ros2_interfaces/srv/TetherGetUsdtBalance \
  "{address: '0x...'}"
Response fields:
  • balance_raw: base-10 string (uint256)
  • balance_formatted: formatted using configured decimals (default 6 for peaq USDT)

Tips

  • If you hit provider rate limits, retry after a short delay or use a higher-throughput RPC endpoint.
  • Keep the USDT contract address in config in quotes (YAML) to avoid type parsing issues.