avax.issueTx

Send a signed transaction to the network. encoding specifies the format of the signed transaction. Can only be hex when a value is provided.

This method will use 10 Compute Units.


Reference: Here

Parameters

  • tx - string - The transaction encoded to encoding.

  • encoding - string - The encoding format.

Returns

  • txID - string - The transaction ID in hex format.

// Result 
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "txID": "NUPLwbt2hsYxpQg4H2o451hmTWQ4JZx2zMzM4SinwtHgAdX1JLPHXvWSXEnpecStLj"
  }
}

Last updated

Was this helpful?