78trust / 100

Addresses Transactions

by api.blockscout.com in Weather & location

x402 APIPassing, checked 4 h ago

Access to api/v2/addresses/:address_hash/transactions. List transactions involving a specific address with to-from filtering

GET https://api.blockscout.com/:chain_id/api/v2/addresses/:address_hash_param/transactions

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
129 ms typical, 145 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.blockscout.com/:chain_id/api/v2/addresses/:address_hash_param/transactions?block_number=string&fee=string&filter=string&hash=string&index=string&inserted_at=string&items_count=0&order=string&sort=string&value=string"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.blockscout.com%2F%3Achain_id%2Fapi%2Fv2%2Faddresses%2F%3Aaddress_hash_param%2Ftransactions
const res = await pay("https://api.blockscout.com/:chain_id/api/v2/addresses/:address_hash_param/transactions?block_number=string&fee=string&filter=string&hash=string&index=string&inserted_at=string&items_count=0&order=string&sort=string&value=string");
console.log(await res.json());

Example input

{
  "block_number": "string",
  "fee": "string",
  "filter": "string",
  "hash": "string",
  "index": "string",
  "inserted_at": "string",
  "items_count": 0,
  "order": "string",
  "sort": "string",
  "value": "string"
}

Example output

{
  "items": [
    {
      "arbitrum": {
        "batch_data_container": "string",
        "batch_number": 0,
        "commitment_transaction": {
          "hash": "string",
          "status": "string",
          "timestamp": "string"
        },
        "confirmation_transaction": {
          "hash": "string",
          "status": "string",
          "timestamp": "string"
        },
        "contains_message": "string",
        "gas_used_for_l1": "string",
        "gas_used_for_l2": "string",
        "message_related_info": {
          "associated_l1_transaction_hash": "string",
          "message_id": 0,
          "message_status": "string"
        },
        "network_fee": "string",
        "poster_fee": "string",
        "status": "string"
      },
      "authorization_list": [
        {
          "address_hash": "string",
          "authority": "string",
          "chain_id": 0,
          "nonce": "string",
          "r": "string",
          "s": "string",
          "status": "string",
          "v": 0
        }
      ],
      "base_fee_per_gas": "string",
      "block_number": 0,
      "confirmation_duration": [
        0
      ],
      "confirmations": 0,
      "created_contract": {},
      "decoded_input": {},
      "exchange_rate": "string",
      "fee": {
        "type": "string",
        "value": "string"
      },
      "fhe_operations_count": 0,
      "from": {
        "ens_domain_name": "string",
        "hash": "string",
        "implementations": [
          {
            "address_hash": "string",
            "name": "string"
          }
        ],
        "is_contract": true,
        "is_scam": true,
        "is_verified": true,
        "metadata": {},
        "name": "string",
        "private_tags": [
          {
            "address_hash": "string",
            "display_name": "string",
            "label": "string"
          }
        ],
        "proxy_type": "string",
        "public_tags": [
          {
            "address_hash": "string",
            "display_name": "string",
            "label": "string"
          }
        ],
        "reputation": "string",
        "watchlist_names": [
          {
            "display_name": "string",
            "label": "string"
          }
        ]
      },
      "gas_limit": "string",
      "gas_price": "string",
      "gas_used": "string",
      "has_error_in_internal_transactions": true,
      "hash": "string",
      "historic_exchange_rate": "string",
      "is_pending_update": true,
      "max_fee_per_gas": "string",
      "max_priority_fee_per_gas": "string",
      "method": "string",
      "nonce": 0,
      "position": 0,
      "priority_fee": "string",
      "raw_input": "string",
      "result": {},
      "revert_reason": {},
      "status": "string",
      "timestamp": "string",
      "to": {},
      "token_transfers": [
        {
          "block_hash": "string",
          "block_number": 0,
          "from": {
            "ens_domain_name": "string",
            "hash": "s

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402145 ms$0.002
7 h agoPassed402145 ms$0.002
11 h agoPassed402128 ms$0.002
14 h agoPassed402123 ms$0.002
18 h agoPassed402120 ms$0.002
21 h agoPassed402141 ms$0.002
25 h agoPassed402138 ms$0.002
29 h agoPassed40244 ms$0.002
32 h agoPassed402133 ms$0.002
36 h agoPassed402129 ms$0.002
40 h agoPassed402146 ms$0.002
43 h agoPassed402126 ms$0.002
2 days agoPassed40268 ms$0.002