ZELF
Zelf Documentation
Zelf Documentation
  • Welcome
  • Getting Started
    • How it works
    • WhitePaper
    • Zelf Proofs vs Others
    • Privacy Preserving
    • Use cases
    • Downloads
  • Functions
    • Authentication
    • Create a ZelfProof
    • Decrypt a ZelfProof
    • Preview ZelfProof
  • Zelf Name Service
    • Offline Version
      • Decryption
    • Online Version
      • Retrieve public key
      • Create a session
      • PGP Encryption
      • Lease a Zelf Name
      • Preview a ZelfName
      • Decrypt a ZelfName
    • Arweave ZNS Storage
    • Zelf Wallet Design
  • BlockChains
    • MINA
      • Get Balance
      • Get Token
      • Get Transactions
    • ETH
      • Adress Lookup
      • Transactions list
      • Transaction details
      • Gas Tracker
  • Integrations
  • Zelf Legal
    • Team Members
    • Terms of Use
    • Privacy Policy
  • Airdrop
    • Airdrop Rules
    • Reglas de Airdrop
    • Pricing per Domain
  • Verify our Partners
    • Acquisition Team
  • Roadmap
    • Q1 2025
    • Q2 2025
    • Q3 2025
    • Q4 2025
Powered by GitBook
On this page

Was this helpful?

  1. BlockChains
  2. ETH

Transactions list

ETH transactions list

API Endpoint: GET /api/ethereum/transactions

Description:

This endpoint retrieves a paginated list of Ethereum transactions for a specific wallet address.

Base URL:

https://api.zelf.world

Request

  • Method: GET

  • URL: /api/ethereum/transactions

Query Parameters:

Parameter
Type
Required
Description

address

String

Yes

Ethereum wallet address to query.

page

Number

Yes

Page number to fetch.

show

Number

Yes

Number of records per page (max: 100).

Example Request:

GET https://api.zelf.world/api/ethereum/transactions?address=0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97&page=1&show=10

Headers:

Header
Type
Required
Description

Authorization

String

Yes

Bearer token for authentication.

Example Header:

const axios = require('axios');

let config = {
    method: 'get',
    url: 'https://api.zelf.world/api/ethereum/transactions',
    params: {
        address: '0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97',
        page: 1,
        show: 10
    },
    headers: {
        'Authorization': 'Bearer your_access_token_here'
    }
};

axios.request(config)
    .then(response => {
        console.log(JSON.stringify(response.data));
    })
    .catch(error => {
        console.error(error);
    });
curl --location 'https://api.zelf.world/api/ethereum/transactions?address=0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97&page=1&show=10' \
--header 'Authorization: Bearer your_access_token_here'
use reqwest::blocking::Client;
use std::collections::HashMap;

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Client::new();
    let mut params = HashMap::new();
    params.insert("address", "0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97");
    params.insert("page", "1");
    params.insert("show", "10");

    let res = client
        .get("https://api.zelf.world/api/ethereum/transactions")
        .query(&params)
        .header("Authorization", "Bearer your_access_token_here")
        .send()?
        .text()?;

    println!("{}", res);
    Ok(())
}
{
    "Authorization": "Bearer your_access_token_here"
}

Response

The response will contain paginated information about Ethereum transactions, including transaction hash, block number, timestamp, from and to addresses, amount, asset type, fiat value, and transaction fee.

Fields in the Response:

  • data (Object): Contains the transaction data.

    • pagination (Object): Contains pagination information.

      • records (String): The total number of records.

      • pages (String): Total number of pages.

      • page (String): Current page number.

    • transactions (Array of Objects): List of transactions.

      • hash (String): The transaction hash.

      • method (String): The transaction method (e.g., "Transfer").

      • block (String): Block number.

      • age (String): Time since the transaction was made.

      • from (String): Sender’s wallet address.

      • traffic (String): Transaction direction (e.g., "OUT").

      • to (String): Recipient's wallet address.

      • fiatAmount (String): Fiat value of the transaction.

      • amount (String): Amount transferred.

      • asset (String): The asset involved (e.g., ETH).

      • txnFee (String): The transaction fee.


Example Response:

{
    "data": {
        "pagination": {
            "records": "719527",
            "pages": "10000",
            "page": "1"
        },
        "transactions": [
            {
                "hash": "0x54aba7e0fcf69eecdb66e7e6047c097de30c552991deecd196183cf23c4d264d",
                "method": "Transfer",
                "block": "20807922",
                "age": "7 secs ago",
                "from": "0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97",
                "traffic": "OUT",
                "to": "0xEe5F5c53CE2159fC6DD4b0571E86a4A390D04846",
                "fiatAmount": "133.86",
                "amount": "0.051885516",
                "asset": "ETH",
                "txnFee": "0.00041078"
            },
            {
                "hash": "0x8b47abcc55eea05ff2ff53a71bd1752a6a3abc74476351367c3c0303c0996c5c",
                "method": "Transfer",
                "block": "20807921",
                "age": "19 secs ago",
                "from": "0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97",
                "traffic": "OUT",
                "to": "0x4675C7e5BaAFBFFbca748158bEcBA61ef3b0a263",
                "fiatAmount": "160.50",
                "amount": "0.062212403",
                "asset": "ETH",
                "txnFee": "0.00041936"
            }
        ]
    }
}
PreviousAdress LookupNextTransaction details

Last updated 7 months ago

Was this helpful?