AddressDB

post
Resync

http://127.0.0.1:31567/wallet/resync
Request
Response
Request
Response
200: OK

post
Adressess Balance

http://127.0.0.1:31567/addressdb/balance
Given a list of addresses return the balance per asset of those addresses
Request
Response
Request
Path Parameters
addressess
required
array
addressess
Response
200: OK

post
Addressess Outputs

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
Response
Request
Body Parameters
mode
optional
string
all or unspentOnly
addressess
required
array
address list
Response
200: OK
[
{
outpoint: Outpoint,
spend: {
asset: string,
amount: number
},
lock: {
PK?: {
hash: string,
address: string
},
Coinbase?: {
blockNumber: number,
pkHash: string,
address: string
},/// all the other lock as well
}
}
]

post
Addressess Transactions

http://127.0.0.1:31567/addressdb/transactions
Given a list of addresses return the transaction count with the skip and take methods
Request
Response
Request
Body Parameters
take
required
string
used in pagination
skip
required
string
used in pagination
addressess
required
array
address list
Response
200: OK

post
Addressess Transaction Count

http://127.0.0.1:31567/addressdb/transactioncount
Given a list of addresses return the transaction count
Request
Response
Request
Body Parameters
addressess
required
array
address list
Response
200: OK

post
Contract History

http://127.0.0.1:31567/contract/history
Given a contractID return the history of the execution of that contract
Request
Response
Request
Body Parameters
take
required
string
used in pagination
skip
required
string
used in pagination
contractId
required
string
contract ID
Response
200: OK