AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.

Start building today!     

Contents

qn_broadcastRawTransaction RPC Method

The API credit value for this method is 69 . To learn more about API credits and each method's value, visit the API Credits page.

Please note that this RPC method requires the Transaction Broadcast add-on enabled on your QuickNode endpoint. Also, it is currently supported on the BNB Smart Chain (mainnet and testnet) and Ethereum (mainnet, goerli, and sepolia) networks.

Parameters:

  1. data - string - The signed transaction (typically signed with a library, using your private key)

Returns:

  1. result - The transaction hash, or the zero hash if the transaction is not yet available

Code Examples:

curl http://sample-endpoint-name.network.quiknode.pro/token-goes-here/ \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"qn_broadcastRawTransaction","params":["SIGNED_TRANSACTION"],"id":1}'
Ready to get started? Create a free account