/zapethereumtest

contain rest apis to get transaction details of erc20 token and contract execution

Primary LanguageJavaScript

zapethereumtest

I have deployed the Api on HEROKU and below are the api path for that

API PATH deployed on Heroku

1.Account Transfers

https://lit-reef-72751.herokuapp.com/eth/api/v1/transaction/$TXID

Example:https://lit-reef-72751.herokuapp.com/eth/api/v1/transaction/0xbeae83e379e9a4c986cfc453fe90e1fa2ca50eaa692ad99abe2aee2214208132

2.erc20 token

https://lit-reef-72751.herokuapp.com/eth/api/v1/erctransaction/$TXID

example:https://lit-reef-72751.herokuapp.com/eth/api/v1/erctransaction/0xee33a6c25198bf980c80803b25b30dbc195018d9ec9c97e087a9f1902ead45a9

3.contract execution

https://lit-reef-72751.herokuapp.com/eth/api/v1/ctetransaction/$TXID

example:https://lit-reef-72751.herokuapp.com/eth/api/v1/ctetransaction/0xda207ae2980e09742ad28f2e604a964387df13afc8831c5762fc5b7b240b0502

API PATH for localhost

1.Account Transfers

http://localhost:3000/eth/api/v1/transaction/$TXID

example: http://localhost:3000/eth/api/v1/transaction/0xbeae83e379e9a4c986cfc453fe90e1fa2ca50eaa692ad99abe2aee2214208132

2.erc20 token

http://localhost:3000/eth/api/v1/erctransaction/$TXID

example: http://localhost:3000/eth/api/v1/erctransaction/0xee33a6c25198bf980c80803b25b30dbc195018d9ec9c97e087a9f1902ead45a9

3.contract execution

http://localhost:3000/eth/api/v1/ctetransaction/$TXID

example: http://localhost:3000/eth/api/v1/ctetransaction/0xda207ae2980e09742ad28f2e604a964387df13afc8831c5762fc5b7b240b0502