RPC API v1
Reference documentation for the public v1 RPC endpoints on Trac Network mainnet.
Network State
Get fee
Get confirmed length
Get unconfirmed length
Wallet & Account
Get balance
Wallet/account address.
Balance endpoint behavior:
truefor confirmed viewfalsefor unconfirmed view- omitted => confirmed view
- any other value => treated as unconfirmed view
trueBalance returned successfully.
Missing address.
Internal server error.
Get account details
Wallet/account address.
Must be exactly true or false.
truePossible values: Account details returned successfully.
64-character hex writing key. Can be all zeros when no writer key is assigned.
0000000000000000000000000000000000000000000000000000000000000000Pattern: ^[A-Fa-f0-9]{64}$Invalid address or invalid confirmed parameter.
Internal server error.
Transactions - Read
List transaction hashes
Start of confirmed-length range (inclusive).
End of confirmed-length range (inclusive).
Hashes returned successfully.
Invalid range parameters.
Internal server error.
Get transaction by hash
Get transaction details
Transaction hash (64-char hex string).
^[A-Fa-f0-9]{64}$Must be exactly true or false.
truePossible values: Transaction details returned successfully.
Confirmed ledger length (0 when transaction is not yet confirmed).
Invalid transaction hash or invalid confirmed parameter.
Transaction not found.
Internal server error.
Transactions - Write
Resolve transaction payloads (bulk)
Payloads returned successfully.
Invalid request body.
Request/response size limits exceeded.
Internal server error.
Broadcast signed transaction
Base64-encoded signed transaction.
Transaction accepted and broadcasted.
Invalid request payload.
Broadcast retry limit reached.
Internal server error.
Errors & Limits
Confirmed query behavior
tx-hashes range constraints
tx-hashes range constraintsBulk request limits
Broadcast rate limiting
Schemas
Last updated