REST API

To interact with the relayer
post
http://relayer
/transaction
Send a transaction to the contract
get
http://relayer
/job/:id
Get the job status
get
http://relayer
/transactions/:limit/:offset
Query transactions
get
http://relayer
/merkle/proof?[index]
Get Merkle tree proofs at the specified position
get
http://relayer
/merkle/root/:index
Get Merkle tree root node at the specified index
post
http://relayer
/proof_tx
Calculate transaction proof
get
http://relayer
/delta_index
Get the next index in the Merkle tree
get
http://relayer
/info
Get current Merkle tree root and delta index