AddressDB
Resync
POST
http://127.0.0.1:31567/addressdb/resync
Adressess Balance
POST
http://127.0.0.1:31567/addressdb/balance
Given a list of addresses return the balance per asset of those addresses
Path Parameters
addressess
array
addressess
Addressess Outputs
POST
http://127.0.0.1:31567/addressdb/outputs
Given a list of addresses and a mode return a list of outpoint and spend per address
Request Body
mode
string
all or unspentOnly
addressess
array
address list
Addressess Transactions
POST
http://127.0.0.1:31567/addressdb/transactions
Given a list of addresses return the transaction count with the skip and take methods
Request Body
take
string
used in pagination
skip
string
used in pagination
addressess
array
address list
Addressess Transaction Count
POST
http://127.0.0.1:31567/addressdb/transactioncount
Given a list of addresses return the transaction count
Request Body
addressess
array
address list
Contract History
POST
http://127.0.0.1:31567/contract/history
Given a contractID return the history of the execution of that contract
Request Body
take
string
used in pagination
skip
string
used in pagination
contractId
string
contract ID
Contract Info
POST
http://127.0.0.1:31567/contract/info
This is used to compute the hints and queries for the contract activation in ZenJs.
Request Body
rlimit
string
Zebra's rlimit for recording hints
code
string
Send valid fstar code, for example: let main _ _ _ _ _ _ _ _ = Zen.ResultT.failw \"This contract does nothing\"\nlet cf _ _ _ _ _ _ _ = Zen.Cost.ret (1 <: nat)
Last updated