GithubHelp home page GithubHelp logo

delta1 / elements-rpc Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 2.0 9 KB

Elements JSON RPC Rust Library

Home Page: https://crates.io/crates/elements-rpc

License: MIT License

Rust 100.00%
bitcoin elements json-rpc liquid rust

elements-rpc's Introduction

elements rust json rpc client library

This is a new library aiming to be a useful dependency for apps and wallets that wish to interact with an Elements daemon, most often used in the Liquid sidechain.

NOTE: This is still a brand new Work In Progress crate

If you need an existing crate you could take a look at liquid-rpc

Design goals

  • lower level calls that match the RPCs directly
  • a higher level API to abstract common patterns
  • ...

RPCs

From: https://elementsproject.org/en/doc/22.0.0/rpc/

blockchain

  • getbestblockhash
  • getblock
  • getblockchaininfo
  • getblockcount
  • getblockfilter
  • getblockhash
  • getblockheader
  • getblockstats
  • getchaintips
  • getchaintxstats
  • getdifficulty
  • getmempoolancestors
  • getmempooldescendants
  • getmempoolentry
  • getmempoolinfo
  • getrawmempool
  • getsidechaininfo
  • gettxout
  • gettxoutproof
  • gettxoutsetinfo
  • preciousblock
  • pruneblockchain
  • savemempool
  • scantxoutset
  • verifychain
  • verifytxoutproof

control

  • getmemoryinfo
  • getrpcinfo
  • help
  • logging
  • stop
  • uptime

generating

  • combineblocksigs
  • consumecompactsketch
  • consumegetblocktxn
  • finalizecompactblock
  • generateblock
  • generatetoaddress
  • generatetodescriptor
  • getcompactsketch
  • getnewblockhex

mining

  • getblocktemplate
  • getmininginfo
  • getnetworkhashps
  • prioritisetransaction
  • submitblock
  • submitheader
  • testproposedblock

network

  • addnode
  • clearbanned
  • disconnectnode
  • getaddednodeinfo
  • getconnectioncount
  • getnettotals
  • getnetworkinfo
  • getnodeaddresses
  • getpeerinfo
  • listbanned
  • ping
  • setban
  • setnetworkactive

rawtransactions

  • analyzepsbt
  • calculateasset
  • combinepsbt
  • combinerawtransaction
  • converttopsbt
  • createpsbt
  • createrawtransaction
  • decodepsbt
  • decoderawtransaction
  • decodescript
  • finalizepsbt
  • fundrawtransaction
  • getrawtransaction
  • parsepsbt
  • rawblindrawtransaction
  • rawissueasset
  • rawreissueasset
  • sendrawtransaction
  • signrawtransactionwithkey
  • testmempoolaccept
  • updatepsbtpegin
  • utxoupdatepsbt

signer

  • enumeratesigners

util

  • createblindedaddress
  • createmultisig
  • deriveaddresses
  • dumpassetlabels
  • estimatesmartfee
  • getdescriptorinfo
  • getindexinfo
  • getpakinfo
  • signmessagewithprivkey
  • tweakfedpegscript
  • validateaddress
  • verifymessage

wallet

  • abandontransaction
  • abortrescan
  • addmultisigaddress
  • backupwallet
  • blindrawtransaction
  • bumpfee
  • claimpegin
  • createrawpegin
  • createwallet
  • destroyamount
  • dumpblindingkey
  • dumpissuanceblindingkey
  • dumpmasterblindingkey
  • dumpprivkey
  • dumpwallet
  • encryptwallet
  • getaddressesbylabel
  • getaddressinfo
  • getbalance
  • getbalances
  • getnewaddress
  • getpeginaddress
  • getrawchangeaddress
  • getreceivedbyaddress
  • getreceivedbylabel
  • gettransaction
  • getunconfirmedbalance
  • getwalletinfo
  • getwalletpakinfo
  • importaddress
  • importblindingkey
  • importdescriptors
  • importissuanceblindingkey
  • importmasterblindingkey
  • importmulti
  • importprivkey
  • importprunedfunds
  • importpubkey
  • importwallet
  • initpegoutwallet
  • issueasset
  • keypoolrefill
  • listaddressgroupings
  • listdescriptors
  • listissuances
  • listlabels
  • listlockunspent
  • listreceivedbyaddress
  • listreceivedbylabel
  • listsinceblock
  • listtransactions
  • listunspent
  • listwalletdir
  • listwallets
  • loadwallet
  • lockunspent
  • psbtbumpfee
  • reissueasset
  • removeprunedfunds
  • rescanblockchain
  • send
  • sendmany
  • sendtoaddress
  • sendtomainchain
  • sethdseed
  • setlabel
  • settxfee
  • setwalletflag
  • signblock
  • signmessage
  • signrawtransactionwithwallet
  • unblindrawtransaction
  • unloadwallet
  • upgradewallet
  • walletcreatefundedpsbt
  • walletdisplayaddress
  • walletlock
  • walletpassphrase
  • walletpassphrasechange
  • walletprocesspsbt

zmq

  • getzmqnotifications

used in the tutorial

https://elementsproject.org/elements-code-tutorial/overview

  • getblockcount
  • createwallet
  • getwalletinfo
  • rescanblockchain
  • getnewaddress
  • sendtoaddress
  • generatetoaddress
  • getaddressinfo
  • getrawmempool
  • gettransaction
  • getrawtransaction
  • importaddress
  • importblindingkey
  • dumpblindingkey
  • dumpassetlabels
  • listissuances
  • importissuanceblindingkey
  • decoderawtransaction
  • reissueasset
  • destroyamount
  • dumpprivkey
  • createmultisig
  • getnewblockhex
  • submitblock
  • signblock
  • combineblocksigs
  • getpeginaddress
  • gettxoutproof
  • claimpegin
  • issueasset
  • reissueasset
  • ...

elements-rpc's People

Contributors

delta1 avatar

Stargazers

Hunter Beast avatar yashwanth avatar Roman avatar  avatar nully0x avatar

Watchers

 avatar  avatar

Forkers

nazgull08

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.