GET
/
block
/
transactions-by-contract
curl --request GET \
  --url https://api.lorescan.com/block/transactions-by-contract
{
  "status": "success",
  "more_available": true,
  "results": [
    {
      "transaction_hash": "0xa57a720b120970e73edb79a0005c710507fd70b4774e0f9ad343b5c8c1550126",
      "timestamp": "2022-02-03T02:53:08.000Z",
      "block_number": 14130467,
      "base_fee_per_gas": 106249468231,
      "max_priority_fee_per_gas": 2000000000,
      "max_fee_per_gas": 205000000000,
      "gas_limit": 250000,
      "gas_used": 54004,
      "gas_price": 108249468231,
      "transaction_fee": 5845904282346924,
      "fees_burned": 5737896282346924,
      "fees_rewarded": 108008000000000,
      "fees_saved": 5224915717653076,
      "nonce": 4753976,
      "position": 210,
      "type": 2,
      "from_address": "0xddfabcdc4d8ffc6d5beaf154f18b778f892a0740",
      "to_address": "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0",
      "input": "0xa9059cbb0000000000000000000000003f4c85754a36cb81067a0a88bb1f83b9cef97a910000000000000000000000000000000000000000000000001bc16d674ec80000",
      "log_count": 1
    },
    {
      "transaction_hash": "0xefcf394944db583e2a214ac35472722350e91c4eaa57c8d3f8523127da8effa7",
      "timestamp": "2022-02-03T03:09:50.000Z",
      "block_number": 14130536,
      "base_fee_per_gas": 89982976894,
      "max_priority_fee_per_gas": 2000000000,
      "max_fee_per_gas": 225000000000,
      "gas_limit": 21000,
      "gas_used": 21000,
      "gas_price": 91982976894,
      "transaction_fee": 1931642514774000,
      "fees_burned": 1889642514774000,
      "fees_rewarded": 42000000000000,
      "fees_saved": 2793357485226000,
      "nonce": 4471048,
      "position": 63,
      "type": 2,
      "from_address": "0xeb2629a2734e272bcc07bda959863f316f4bd4cf",
      "to_address": "0x3f4c85754a36cb81067a0a88bb1f83b9cef97a91",
      "value": 3726680000000000,
      "input": "0x",
      "log_count": 0
    }
  ]
}

Use “lore-public” for token

Query Parameters

contract_address
string
required
chain
enum<string>
required
Available options:
Ethereum,
Avalanche,
Base,
Bera_Testnet,
Fantom,
Fluent_Testnet,
Kinto,
Manta,
Sonic_S5
block_number_above_inclusive
integer
block_number_below_inclusive
integer
order
enum<string>
required
Available options:
asc,
desc
limit
integer
default: 25
offset
integer
default: 0
token
string
required

Response

200 - application/json
status
string
required
more_available
boolean
results
object[]
required