📔
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
  • ENDPOINT
  • Body
  • Response
  • Request
  1. Reference
  2. API Reference
  3. Aleo
  4. RPC Methods

Transaction Broadcast

Broadcasts the transaction to the ledger.

ENDPOINT

POST https://api.data123.io/aleo/<API KEY>/v1/testnet3/transaction/broadcast

Body

Type
Description

string

The serialized transaction to broadcast

Response

Parameter
type
Description

result

string

The status of the transaction broadcast attempt

Request

curl https://api.data123.io/aleo/<API KEY>/v1/testnet3/transaction/broadcast \
    -X POST \
    -d '{The serialized transaction to broadcast}'
curl https://api.data123.io/aleo/<API KEY>/rpc/v1/testnet3 \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"transactionBroadcast","params":['{The serialized transaction to broadcast}'],"id":1}'

PreviousGet Environment InfoNextDrand

Last updated 1 year ago