FedoraGold Technical Documentation

  1. Home
  2. Docs
  3. FedoraGold Technical Documentation
  4. API: fedoragold_daemon (http get: json)
  5. gettransaction

gettransaction

curl -X GET -H "Content-type: application/json" -H "Accept: appliation/json" -d '{"blknum": 0, "txnum": 0, "hash": "2c120198dfc59a76d512d021da1253018b497273e1b5358cd2bdc1c206d48c3c"}' http://localhost:30159/gettransaction

requestresponse
txhashglobal_output_indexes
blknumhash
txnumtxsize
block
blockheight
orphan_status
inputamt
outputamt
inputamts
outputamts
outputkeys
prefix
version
unlocktime
fee
paymentid
extra
status

sample:

{"block":"92ff39b944c5740990cad6bc9f7dce0850a89566009cebfb9e77f4b7840a6fc4","blockheight":2884379,"extra":"01f3cc5824f83b9930c50b58578065076e189848fff83f87c9dd408493afaba396","fee":100000000,"global_output_indexes":[317556,316156,316510,316257,316203,317460,317899,315498,569057,568133,581198,569829,551678,285349],"hash":"2c120198dfc59a76d512d021da1253018b497273e1b5358cd2bdc1c206d48c3c","inputamt":1400800000,"inputsamts":[700000000,800000,700000000],"inputskeyobjs":[{"amount":700000000,"key":"2b369fbdc88b1e3d780565ac2b9329e5c73fc0e6ace028b46e55432b75c1bc23"},{"amount":800000,"key":"8698e2181c3b1b219c831e42340ec85d4e2b8045518b0558c332f13e12ccf213"},{"amount":700000000,"key":"96db43309969e07ccc79487ea8858cc63b9bd35e8672530120abd39ee267da3c"}],"inputsmultisigobjs":[{"amount":0,"outputIndex":0,"signatureCount":0},{"amount":0,"outputIndex":0,"signatureCount":0},{"amount":0,"outputIndex":0,"signatureCount":0}],"orphan_status":false,"outputamt":1300800000,"outputsamts":[10,90,900,2000,7000,90000,100000,600000,3000000,7000000,10000000,80000000,200000000,1000000000],"outputskeyobjs":[{"keyOutput":"1afb45667a9f37fa74a5e5344d424794e52c0071957ee8699722b1655aaa6752"},{"keyOutput":"39c4e372c3d894e2d75c4795fd0f1bf87c70f7c0e7561053f373aaae7d96f496"},{"keyOutput":"4da0895472b9f1854fd09aa6f6b56ef5c7533801ae4cc32e7da808664a5a35a9"},{"keyOutput":"72ecb21c01aed57e0d09c9c5cd18f71a63474c09b0c38bf675e3d9465bc995bf"},{"keyOutput":"0d57793ebc4d3d21c11587f7095e1602aaf70ba027f356af77c44ec21b8c4b91"},{"keyOutput":"a34994a025c40a5098a389bd202e87f88c2a87ebaf3dd38ba0204625c2e550f3"},{"keyOutput":"7f42460d218cfd93a9df2d96520cbbc90fe1126a5513932ac8270b4bd4c21e68"},{"keyOutput":"342780ff247383698a9eeffc7d857aa4899064720847c055662decc6e8e69f3f"},{"keyOutput":"07d422b5c94009ce65e4a03d8a5bda1f37ce882d9bb2599c3d51a8aa765bcfa7"},{"keyOutput":"8d1d055217728ce52849faccdecf1593a8620a24ce3c9c8cfaa6015aaf771bc4"},{"keyOutput":"cd6766a32e408b9862d39ec398a94527733893f63162b114ecf82183554b29ab"},{"keyOutput":"8b6f27a7f21189fec9bf8b45f93070fd37cd991bea427b8c329a9a4ba195db84"},{"keyOutput":"7dbc2c96a485ee4c0e79b440b1aecf8b3cd6b2bd74f562bcd55e3a05b7c965fb"},{"keyOutput":"8c2f1ce6889cdfdb4b925ed8e72ae59b6dbb06d4dc503b82dbcf0401c8c138b3"}],"outputskeys":["1afb45667a9f37fa74a5e5344d424794e52c0071957ee8699722b1655aaa6752","39c4e372c3d894e2d75c4795fd0f1bf87c70f7c0e7561053f373aaae7d96f496","4da0895472b9f1854fd09aa6f6b56ef5c7533801ae4cc32e7da808664a5a35a9","72ecb21c01aed57e0d09c9c5cd18f71a63474c09b0c38bf675e3d9465bc995bf","0d57793ebc4d3d21c11587f7095e1602aaf70ba027f356af77c44ec21b8c4b91","a34994a025c40a5098a389bd202e87f88c2a87ebaf3dd38ba0204625c2e550f3","7f42460d218cfd93a9df2d96520cbbc90fe1126a5513932ac8270b4bd4c21e68","342780ff247383698a9eeffc7d857aa4899064720847c055662decc6e8e69f3f","07d422b5c94009ce65e4a03d8a5bda1f37ce882d9bb2599c3d51a8aa765bcfa7","8d1d055217728ce52849faccdecf1593a8620a24ce3c9c8cfaa6015aaf771bc4","cd6766a32e408b9862d39ec398a94527733893f63162b114ecf82183554b29ab","8b6f27a7f21189fec9bf8b45f93070fd37cd991bea427b8c329a9a4ba195db84","7dbc2c96a485ee4c0e79b440b1aecf8b3cd6b2bd74f562bcd55e3a05b7c965fb","8c2f1ce6889cdfdb4b925ed8e72ae59b6dbb06d4dc503b82dbcf0401c8c138b3"],"outputsmultisigobjs":[{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0},{"keys":[],"requiredSignatureCount":0}],"paymentid":"20bc3d6a6255000000d89d4424729cb1c776257a625500004078257a62550000","prefix":"628128425787f03db50024690399ac6d741cf49cd6041d23d1502c4525eb1ed9","status":"OK","txsize":858,"unlocktime":0,"version":1}

Was this article helpful to you? Yes No

How can we help?