Skip to content

List/add ETH transaction using blocknative API

Notifications You must be signed in to change notification settings

tteerawat/satana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Satana

Setup

Running

  • Install dependencies with mix deps.get
  • Configure environment variables, check .env.sample
  • Start Phoenix endpoint with mix phx.server

Examples

  • List pending transactions
curl http://localhost:4000/api/transactions/pending
  • Add pending transaction(s)
curl -d '{"tx_ids": ["0x123", "0x456"]}' -H "Content-Type: application/json" -X POST http:/localhost:4000/api/transactions

Tests

You can run tests with mix test

About

List/add ETH transaction using blocknative API

Resources

Stars

Watchers

Forks

Languages