📔
Blockchain API guides
  • Welcome to Data123 Documents!
  • Quick Start
  • Reference
    • API Reference
      • Aleo
        • RPC Methods
          • Latest Height
          • Latest Hash
          • Latest Block
          • Latest State Root
          • Get Block
          • Get Blocks
          • Get Block Transactions
          • Get Transaction
          • Get Confirmed Transaction
          • Get Memory pool Transactions
          • Get Progrem
          • Get Mapping Names
          • Get Mapping Value
          • Get State Path For Commitment
          • Find Block Hash
          • Find Transaction ID From Program ID
          • Find Transaction ID From Transition ID
          • Find Transition ID
          • Get Environment Info
          • Transaction Broadcast
      • Drand
        • JSON-RPC Methods
      • Filecoin
        • JSON-RPC Methods
      • Ethereum
        • JSON-RPC Methods
      • Starknet
Powered by GitBook
On this page
  1. Reference
  2. API Reference
  3. Aleo

RPC Methods

Aleo RPC

PreviousAleoNextLatest Height

Last updated 1 year ago

You can review the official Aleo RPC documentation

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/at1td9klwgpevhgqcpfd5tvu88pv67uajugnxqysd93w40kx8na2cyq8qh3ls
curl 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 for parameter descriptions

HERE
HERE
Latest Height
Latest Hash
Latest Block
Latest State Root
Get Block
Get Height
Get Block Transactions
Get Transaction
Get Memory Pool Transactions
Get Program
Get Mapping Names
Get Mapping Value
Get State Path For Commitment
Find Block Hash
Find Transaction ID from Program ID
Find Transaction ID from Transition ID
Find Transition ID
Get Environment Information
Transaction Broadcast
Edit this page