Skip to content

Bitcoin Get Transaction

Xenland edited this page Dec 27, 2012 · 6 revisions

Back to API Call Index

Purpose

This function will return the array of transaction information regarding the txid. This function only works for local txids.

Parameter(s)

This function takes one variable tx_id

Output | Array

This function outputs an array this array will output like the following...

return_status

  • Type: Integer

-1 = Failure to generate address

1 = Success

100 = Failure to connect to Bitcoin client


tx_info

  • amount

  • fee

  • confirmations

  • blockhash

  • blockindex

  • blocktime

  • txid

  • time

  • timereceived

  • details

  • Type:

  • account

  • address

  • category

  • amount

  • fee