⚡ Dedicated Nodes for ETH, BSC, MATIC & other Blockchains at a Reduced Price!
Decred (DCR)
Method: POST searchrawtransactions
Returns raw data for transactions involving the passed address. Returned transactions are pulled from both the database, and transactions currently in the mempool. Transactions pulled from the mempool will have the "confirmations" field set to 0. Usage of this RPC requires the optional --addrindex flag to be activated, otherwise all responses will simply return with an error stating the address index has not yet been built up. Similarly, until the address index has caught up with the current best height, all requests will return an error response in order to avoid serving stale data.
Each request is limited to a maximum of 10000 transactions. Callers may use the skip parameter in subsequent requests to access additional data if access to more results is required.
address
- string
Decred address.
verbose
- int
Optional, default=true
specifies the transaction is returned as a JSON object instead of hex-encoded string.
skip
- int
Optional, default=0
the number of leading transactions to leave out of the final response.
count
- int
Optional, default=100, max=10000
the maximum number of transactions to return.
vinextra
- int
Optional, default=0
specify that extra data from previous output will be returned in vin.
reverse
- boolean
Optional, default=false
specify that the transactions should be returned in reverse chronological order.
filteraddrs
- json array
Optional.
specify that only inputs or outputs with matching addresses should be returned.
curl --location --request POST 'https://dcr.getblock.io/mainnet/' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "searchrawtransactions", "params": [null, true, 0, 100, 0, false, null], "id": "getblock.io"}'
{ "id": "getblock.io", "jsonrpc": "2.0", "result": null }
POST getchaintips
POST getbestblock
POST getbestblockhash
POST getblock
POST getblockchaininfo
POST getblockcount
POST getblockhash
POST getblockheader
POST getheaders
POST getblocksubsidy
POST getmempoolinfo
POST getrawmempool
POST gettxout
POST gettxoutsetinfo
POST getcfilterv2
POST getcoinsupply
POST getdifficulty
POST existsaddress
POST existsaddresses
POST getstakedifficulty
POST getstakeversioninfo
POST getstakeversions
POST gettreasurybalance
POST gettreasuryspendvotes
POST getvoteinfo
POST getwork
POST gethashespersec
POST getmininginfo
POST getnetworkhashps
POST regentemplate
POST getconnectioncount
POST getcurrentnet
POST getnettotals
POST getnetworkinfo
POST createrawtransaction
POST decoderawtransaction
POST getrawtransaction
POST searchrawtransactions
POST sendrawtransaction
POST decodescript
POST createrawsstx
POST createrawssrtx
POST existsmempooltxs
POST txfeeinfo
POST estimatestakediff
POST existsexpiredtickets
POST existsliveticket
POST existslivetickets
POST existsmissedtickets
POST getticketpoolvalue
POST livetickets
POST missedtickets
POST ticketfeeinfo
POST ticketsforaddress
POST ticketvwap
POST estimatefee
POST estimatesmartfee
POST getinfo
POST help
POST verifymessage
POST validateaddress
POST version
POST verifychain
POST generate
POST getgenerate
POST invalidateblock
POST reconsiderblock
POST setgenerate
POST getblockfilter
POST gettxoutsetinfo
POST pruneblockchain
POST savemempool
POST scantxoutset
POST verifytxoutproof
POST generatetodescriptor
POST generatetoaddress
POST prioritisetransaction
POST submitheader
POST clearbanned
POST disconnectnode
POST getnodeaddresses
POST listbanned
POST setban
POST setnetworkactive
POST createmultisig
POST signmessagewithprivkey
POST submitblock
POST addnode
POST getaddednodeinfo
POST getpeerinfo
POST node
POST ping
POST debuglevel
POST stop
POST abandontransaction
POST abortrescan
POST addmultisigaddress
POST backupwallet
POST bumpfee
POST createwallet
POST dumpprivkey
POST dumpwallet
POST encryptwallet
POST getaddressesbylabel
POST getaddressinfo
POST getbalance
POST getbalances
POST getnewaddress
POST getrawchangeaddress
POST getreceivedbyaddress
POST getreceivedbylabel
POST gettransaction
POST getunconfirmedbalance
POST getwalletinfo
POST importaddress
POST importdescriptors
POST importmulti
POST importprivkey
POST importprunedfunds
POST importpubkey
POST importwallet
POST keypoolrefill
POST listaddressgroupings
POST listlabels
POST listlockunspent
POST listreceivedbyaddress
POST listsinceblock
POST listtransactions
POST listunspent
POST listwalletdir
POST listwallets
POST loadwallet
POST lockunspent
POST psbtbumpfee
POST removeprunedfunds
POST rescanblockchain
POST send
POST sendmany
POST setlabel
POST settxfee
POST setwalletflag
POST signmessage
POST signrawtransactionwithwallet
POST unloadwallet
POST upgradewallet
POST walletcreatefundedpsbt
POST walletlock
POST walletpassphrase
POST walletpassphrasechange
POST walletprocesspsbt
POST sethdseed
POST sendtoaddress
Nodes
Shared Nodes Dedicated Nodes Node Cluster Pricing Raw Data Blockchain Development Documentation SLAExplorers
Blockchain ExplorerPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Pricing Raw Data Blockchain Development Documentation SLAExplorers
Blockchain ExplorerPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Pricing Raw Data Blockchain Development Documentation SLAPartnerships
Media KitExplorers
Blockchain ExplorerExplorers
Blockchain ExplorerPartnerships
Media KitKakaoTalk