FedoraGold Technical Documentation

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

gettransactions

FedoraGold is following the Karbo coin definition of gettransactions, and not the original ForkNote definition. Therefore, this function returns a binary array representation of the transactions inputted, expressed as hexadecimal characters.

curl -X GET -H "Content-type: application/json" -H "Accept: appliation/json" -d '{"txs_hashes": ["2c120198dfc59a76d512d021da1253018b497273e1b5358cd2bdc1c206d48c3c"]}' http://localhost:30159/gettransactions

requestresponse
txs_hashesstatus
txs_as_hex
missed_txs

sample:

{"missed_txs":[],"status":"OK","txs_as_hex":["0100030280cee4cd0201c284222b369fbdc88b1e3d780565ac2b9329e5c73fc0e6ace028b46e55432b75c1bc230280ea3001b9a7138698e2181c3b1b219c831e42340ec85d4e2b8045518b0558c332f13e12ccf2130280cee4cd0201fad82196db43309969e07ccc79487ea8858cc63b9bd35e8672530120abd39ee267da3c0e0a021afb45667a9f37fa74a5e5344d424794e52c0071957ee8699722b1655aaa67525a0239c4e372c3d894e2d75c4795fd0f1bf87c70f7c0e7561053f373aaae7d96f4968407024da0895472b9f1854fd09aa6f6b56ef5c7533801ae4cc32e7da808664a5a35a9d00f0272ecb21c01aed57e0d09c9c5cd18f71a63474c09b0c38bf675e3d9465bc995bfd836020d57793ebc4d3d21c11587f7095e1602aaf70ba027f356af77c44ec21b8c4b9190bf0502a34994a025c40a5098a389bd202e87f88c2a87ebaf3dd38ba0204625c2e550f3a08d06027f42460d218cfd93a9df2d96520cbbc90fe1126a5513932ac8270b4bd4c21e68c0cf2402342780ff247383698a9eeffc7d857aa4899064720847c055662decc6e8e69f3fc08db7010207d422b5c94009ce65e4a03d8a5bda1f37ce882d9bb2599c3d51a8aa765bcfa7c09fab03028d1d055217728ce52849faccdecf1593a8620a24ce3c9c8cfaa6015aaf771bc480ade20402cd6766a32e408b9862d39ec398a94527733893f63162b114ecf82183554b29ab80e89226028b6f27a7f21189fec9bf8b45f93070fd37cd991bea427b8c329a9a4ba195db848084af5f027dbc2c96a485ee4c0e79b440b1aecf8b3cd6b2bd74f562bcd55e3a05b7c965fb8094ebdc03028c2f1ce6889cdfdb4b925ed8e72ae59b6dbb06d4dc503b82dbcf0401c8c138b32101f3cc5824f83b9930c50b58578065076e189848fff83f87c9dd408493afaba3962165a50e7b7271126032c8de36eb919facafd0308a9c2465e43c32f8ad0279019c311c8436e14b186e89f6a9ccf67ae9ca8970f356d01860f4c3064e02a5fd0582d3e90da56f11ca1cff86bdd0ff46a4b07ea3ff2a34cbbcfef6d2938242870ddcff9c7e82985219ddecff4fbbbeca20594e20a89aa5fcd1151499fc994a3f0d5bbeb05eaec946037073dd63cf2b9cb901c2242cb5527c750a202993286a6d0d1e86f66208cafbdc8f54f7f475c3e58f5b9c0c7e539b233411b5226dda6e4b0c"]}

Was this article helpful to you? Yes 1 No

How can we help?