Blockchain related API methods

Blockchain related API:

GetBestBlockHash: Returns the hash of the nearest block on the best chain
GetBlock: Returns the block with the specified hash
GetBlockChainInfo: Returns the current state information of the
blockchain GetBlockCount: Returns the number of blocks on the local best chain
GetBlockHash: Returns the most local block The hash of the block of the specified height on the blockchain
GetBlockHeader: Returns the header of the specified block
GetChainTips: Returns the tip information of each local
blockchain GetDifficulty: Returns the POW difficulty
GetMemPoolAncestors: Returns all the ancestors of the specified transaction in the transaction pool
GetMemPoolDescendants: Return all descendants of the
specified transaction in the transaction pool
GetMemPoolEntry: Return the pool data of the specified transaction in the transaction pool GetMemPoolInfo: Return the transaction pool information
GetRawMemPool: Return all transactions in the transaction pool
GetTxOut: Return the detailed information of the specified transaction output
GetTxOutProof: Return one or more Proof data of the transaction
GetTxOutSetInfo: Returns the statistical information of the UTXO collection
PreciousBlock:
PruneBlockChain: Performs pruning operations on the blockchain
VerifyChain: Verifies each record of the local
blockchain VerifyTxOutProof: Verifies the transaction output proof
node control API:

GetInfo: Return node and network information
Help: Return all available RPC commands, or return the help information of the specified command
Stop: Safely shut down the bitcoin core node service to generate
blocks related API:

Generate: Generate a block
GenerateToAddress: Generate a block and transfer the newly generated Bitcoin to the specified address
mining related API:

GetBlockTemplate: Return the node template
GetMiningInfo: Return the mining related information
GetNetworkHashPS: Return the estimated network-wide hash rate
PrioritiseTransaction: Transaction priority
network related API:

AddNode: Add node
ClearBanned: Clean up prohibited nodes
DisconnectNode: Disconnect the connection with the specified node
GetAddedNodeInfo: Return the information of the newly added node
GetConnectionCount: Return the total number of connections with other nodes
GetNetTotals: Return the network traffic statistics
GetNetworkInfo: Return the network of the node Connection information
GetPeerInfo: Return the information of other connected nodes
ListBanned: Return all banned IPs or subnets
Ping: Send p2p pin messages to all connected nodes
SetBan: Manage the list of prohibited access
SetNetworkActive: Prohibit/enable P2P network
bare transactions Related API:

CreateRawTransaction: Create an unsigned serialized transaction
FundRawTransaction: Add a new UTXO to
the bare transaction
DecodeRawTransaction: Decode the specified bare transaction DecodeScript: Decode the specified P2SH redemption script
GetRawTransaction: Return the specified bare transaction
SendRawTransaction: Verify and send the bare transaction to P2P Network
SignRawTransaction: Signature bare transaction
tool API:

CreateMultiSig: Create a P2SH multi-signature address
EstimateFee: Estimate transaction fee rate
EstimatePriority: Estimate transaction priority
GetMemoryInfo: Return memory usage
ValidateAddress: Verify the specified address
VerifyMessage: Verify the signature of the message
wallet Related API:

AbandonTransaction: Abandon specified transactions
AddWitnessAddress: Add witness address
AddMultiSigAddress: Add P2SH multi-signature address
BackupWallet: Backup wallet
BumpFee: Replace unconfirmed transactions and increase handling fee
DumpPrivKey: Export specified private key
DumpWallet: Export wallet
EncryptWallet: Encrypted wallet
GetAccountAddress: Return to specified account current address
GetAccount: return address associated with the account specified
GetAddressesByAccount: grouped by account listed address
GetBalance: return wallet account balance
GetNewAddress: returns a new address for receiving payment
GetRawChangeAddress: returns a new change for address
GetReceivedByAccount: returns the specified account Income status
GetReceivedByAddress: Returns the income status of the specified address
GetTransaction: Returns the details of the specified wallet transaction
GetUnconfirmedBalance: Returns the total unconfirmed income of the
wallet GetWalletInfo: Returns the wallet information
ImportAddress: Import address or public key script
ImportMulti: Import multiple addresses or public keys script
ImportPrunedFunds:
ImportPrivKey: Import the private key
ImportWallet: Import the wallet
KeyPoolRefill: Key pool filling
ListAccounts: Return the account and corresponding balance in the
wallet ListAddressGroupings: List the balance by address
ListLockUnspent: List the locked UTXO
ListReceivedByAccount: List the received bits by account Coin
ListReceivedByAddress: List the received bitcoins by address
ListSinceBlock: List wallet-related transactions that occurred after the specified block
ListTransactions: List the most recent specified number of wallet-related transactions
ListUnspent: Return UTXO in the wallet
LockUnspent: Temporarily Sexually lock/unlock the specified UTXO
Move: Off- chain transfer
RemovePrunedFunds:
SendFrom: Use the specified local account to transfer funds to the specified Bitcoin address
SendMany: Create and broadcast a transaction with multiple outputs
SendToAddress: Send Bitcoin
SetAccount to the specified address : Associate the specified address with the account
SetTxFee: Set the kilobyte transaction rate
SignMessage: Sign the message
SignMessageWithPrivKey: Sign the message with the specified private key
WalletLock: Lock the wallet
WalletPassphrase: Enter the wallet password
WalletPassphraseChange: Modify the wallet password

Guess you like

Origin blog.csdn.net/qq_42293496/article/details/86078661