FedoraGold Technical Documentation

  1. Home
  2. Docs
  3. FedoraGold Technical Documentation
  4. API: fedoragold_walletd
  5. getTransactions

getTransactions

curl -u fedadmin -X POST -i -H "Accept: application/json" -d '{"params": {"firstBlockIndex": 1331400, "blockCount": 1}, "jsonrpc": "2.0", "id": "test", "method":"getTransactions"}' http://localhost:9090/json_rpc

or

curl -u fedadmin -X POST -i -H "Accept: application/json" -d '{"params": {"blockHash": "b3bc90d04ca017fcaf5ee2c8efda95b1ac450beca30a9985e2a9f302f0afed22", "blockCount": 1, "addresses": ["NJkTBid4ZXSPVd6pVSRhRvPN6Qsa32Gbfe1uRLbCxnMQemVh1787L2r9B2Q3FjSpbbbhChRbdfJAH777Q4Sqi1V4M89d8X8"]}, "jsonrpc": "2.0", "id": "test", "method":"getTransactions"}' http://localhost:9090/json_rpc /p>

requestresponse
addressesblockHash
blockHashtransactions
blockCount[
paymentId (optional)state:
SUCCEEDED=0
FAILED=1
CANCELLED=2
CREATED=3
DELETED=4
transactionHash
blockIndex
timestamp
isBase
unlockTime (measured in blocks)
amount
fee
transfers
[
address
amount
]
extra
paymentId

or...

requestresponse
addressesitems
firstBlockIndex[
blockCountblockHash
paymentId (optional)transactions
state (see callout)
transactionHash
blockIndex
timestamp
isBase
unlocktime (measured in blocks)
amount
fee
transfers
[
address
amount
]
extra
paymentId

sample:

Was this article helpful to you? Yes No

How can we help?