BroadcastTransaction

Broadcast the signed transaction.

This method will use 30 Compute Units.


Parameters

  • Raw_body - Object - Required

    • txID - string

    • visible - boolean

    • raw_data - json

    • raw_data_hex - string

    • signature - array of strings

Returns

Field
Type
Description

result

boolean

Whether the broadcast was successful. true - successful; false - failed, and this field will not be displayed in the returned result

txid

string

Transaction id

code

string

Error code

message

string

Detailed error information

// Result
--Succesful response
{"result": true}

--Error response
{
  "code": "TRANSACTION_EXPIRATION_ERROR",
  "txid": "77ddfa7093cc5f745c0d3a54abb89ef070f983343c05e0f89e5a52f3e5401299",
  "message": "5472616e73616374696f6e2065787069726564"
}

Last updated

Was this helpful?