Skip to content

Latest commit

 

History

History
42 lines (41 loc) · 976 Bytes

File metadata and controls

42 lines (41 loc) · 976 Bytes

RPC API

  • /addresses/info/:address
    • address
    • used: boolean, whether address has been used
    • block: number
    • utxos: array of
      • tx_pos
      • tx_hash
      • height
      • value
      • recvd: epoch time (in seconds) when tx received
  • /getblockinfo: returns meta about a block number
    • block: Number
    • fee: Number (in sat)
    • blockhash: hex string
    • blockfilter: hext string
  • /getrawtx/:txid
    • rawtx: hex string
    • txid
  • /gettxvals arg: txid
    • included: false if TX is not in mempool or blockchain
    • txid
    • recvd: epoch time (in seconds) when tx received
    • confs
    • inputs: array
      • pos
      • txid
      • value
      • address
    • outputs: array
      • pos
      • txid
      • value
      • address
  • /broadcasttx
    • txid
    • broadcast: whether this particular call broadcast the transaction
    • included: whether the TX is in the mempool/conf'd
    • inputs
      • signed-rawtx