AddressDB
Last updated
Last updated
POST
http://127.0.0.1:31567/addressdb/resync
POST
http://127.0.0.1:31567/addressdb/balance
Given a list of addresses return the balance per asset of those addresses
Name | Type | Description |
---|---|---|
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
POST
http://127.0.0.1:31567/addressdb/transactions
Given a list of addresses return the transaction count with the skip and take methods
POST
http://127.0.0.1:31567/addressdb/transactioncount
Given a list of addresses return the transaction count
POST
http://127.0.0.1:31567/contract/history
Given a contractID return the history of the execution of that contract
POST
http://127.0.0.1:31567/contract/info
This is used to compute the hints and queries for the contract activation in ZenJs.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
addressess
array
addressess
mode
string
all or unspentOnly
addressess
array
address list
take
string
used in pagination
skip
string
used in pagination
addressess
array
address list
addressess
array
address list
take
string
used in pagination
skip
string
used in pagination
contractId
string
contract ID
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)