Skip to content

RawTransaction Class v1.0 Spec

Gabriel Cardona edited this page Jun 18, 2018 · 1 revision

RawTransaction

decodeRawTransaction

Arguments

  1. hex: String

Return Value

  1. decodedTx: Object

decodeScript

Arguments

  1. hex: String

Return Value

  1. decodedScript: Object

getRawTransaction

Arguments

  1. txid: String
  2. verbose: Boolean. Default: false

Return Value

  1. data: Object if verbose=true
  2. data: String if verbose=false

sendRawTransaction(hex, allowhighfees = false) {

Arguments

  1. hex: String
  2. allowhighfees: Boolean. Default: false

Return Value

  1. txid: String