Service Reference
| Service | Type | Purpose |
|---|---|---|
/peaq_tether_node/usdt/balance | peaq_ros2_interfaces/srv/TetherGetUsdtBalance | Return USDT balance for an address |
Launch Prerequisites
Startpeaq_tether_node once, then call services as needed.
- To start/stop the node (tmux + background options), follow the steps in Service Index.
- In any new terminal where you run
ros2commands, make sure you’ve sourced your ROS/workspace environment and set the sameROS_DOMAIN_IDas the node:
Check Balance
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.

