submitTransaction Query
Parameters
encodedTransaction
string
REQUIRED
The transaction encoded as a hex string
Returns
data
object
The data object which contains the following fields:
submit
object
The result of the submit mutation, which includes:
id
string
The unique transaction ID that is generated once the transaction is submitted to the network
Request
1curl --location 'https://docs-demo.fuel-mainnet.quiknode.pro/v1/graphql' \2--header 'Accept: application/json' \3--header 'Content-Type: application/json' \4--data '{5"query": "mutation submit($encodedTransaction: HexString!) { submit(tx: $encodedTransaction) { id } }",6"variables": {7"encodedTransaction": "YOUR_ENCODED_TRANSACTION_HERE"8}9}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free