SahyadriSahyadriAPI

RPC Methods

20 methods available for blockchain interaction.

MethodDescriptionTypeParametersCategory
submitTransactionBroadcast a signed transaction to the networkWritetransaction, allowOrphanTransactions
submitTransactionReplacementReplace a pending transaction (RBF)WritetransactionTransactions
submitBlockSubmit a mined block to the DAGWriteblock, allowNonDAABlocksMining
getBlockGet block by hash or blue scoreReadhash, blueScore, includeTransactionsBlocks
getBlocksGet range of blocksReadlowHash, includeBlocks, includeTransactionsBlocks
getBlockCountGet current block countReadnoneBlocks
getBlockTemplateGet mining block templateReadpayAddress, extraDataMining
getHeadersGet block headersReadstartHash, limit, isAscendingBlocks
getInfoNode info: version, sync statusReadnoneNetwork
getSahyadriDagInfoDAG info: block rate, difficultyReadnoneNetwork
getCurrentNetworkCurrent network nameReadnoneNetwork
getCoinSupplyCirculating and total supplyReadnoneNetwork
getBalanceByAddressGet balance for a single addressReadaddressAddresses
getBalancesByAddressesGet balances for multiple addressesReadaddresses[]Addresses
getMempoolEntryGet specific mempool transactionReadtxId, includeOrphanPoolTransactions
getMempoolEntriesGet all mempool transactionsReadincludeOrphanPool, filterTransactionPoolTransactions
getPeerAddressesGet known peer addressesReadnoneNetwork
getConnectedPeerInfoGet connected peer detailsReadnoneNetwork
estimateNetworkHashesPerSecondEstimate network hashrateReadwindowSize, startHashMining
pingHealth check / connection testReadnoneUtility
17
Read Methods
3
Write Methods
6
Network Methods
8
No Param Methods