RPC Methods
Aleo RPC
You can review the official Aleo RPC documentation HERE
Example
If you want to obtain the details of a transaction, you can call the method getTransaction,
which returns the transaction for the given transaction ID.
Parameter
Type
Description
transactionID
String
The transaction id of the requested transaction hex
curl https://api.data123.io/aleo/<API KEY>/v1/testnet3/transaction/at1td9klwgpevhgqcpfd5tvu88pv67uajugnxqysd93w40kx8na2cyq8qh3lscurl https://api.data123.io/aleo/<API KEY>/rpc/v1/testnet3 \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"getTransaction","params":['at1td9klwgpevhgqcpfd5tvu88pv67uajugnxqysd93w40kx8na2
cyq8qh3ls'],"id":1}' Available Aleo API request methods,You can review the official Aleo RPC documentation HERE for parameter descriptions
Find Transaction ID from Program ID
Last updated