/sendrawtransaction to propagate it. /gettransactions lets you fetch confirmed transaction blobs by hash for verification or decoding. For mempool inspection, the JSON-RPC method f_on_transactions_pool_json is also available.
POST /gettransactions
Fetches one or more raw transactions by their hash. The daemon returns each found transaction as a hex-encoded blob. Hashes that cannot be found (not confirmed, not in pool) are returned inmissed_tx.
URL: http://127.0.0.1:18180/gettransactions
Request
List of transaction hashes to look up. Each hash should be a 64-character hex string.
Response
Hex-encoded transaction blobs for each found transaction, in the same order as the input hashes that were found.
Hashes from the request that were not found in the confirmed chain or mempool.
"OK" on success.POST /sendrawtransaction
Broadcasts a signed, serialized transaction to the Fuego network. You must provide the fully constructed transaction as a hex string. The daemon validates the transaction before propagating it. URL:http://127.0.0.1:18180/sendrawtransaction
Request
Hex-encoded serialized transaction blob. The transaction must be fully signed and valid.
Response
"OK" if the transaction passed validation and was accepted into the mempool for propagation. Returns an error if the transaction is malformed, double-spends an input, or fails fee checks.GET /getfeeaddress
Returns the fee address configured by the node operator. Nodes can optionally require a fee payment to their address when relaying transactions. Check this before constructing transactions if you are routing through a third-party node. URL:http://127.0.0.1:18180/getfeeaddress
Response
The Fuego address the node operator has set to receive fees. Empty string if no fee address is configured.
"OK" on success.JSON-RPC: f_on_transactions_pool_json
Returns the current contents of the transaction memory pool. Use this to inspect pending transactions before they are confirmed. Method: call viaPOST http://127.0.0.1:18180/json_rpc
Request
Response
List of transactions currently in the mempool.
"OK" on success.