Ethereum Transactor

Curated by

Galxe

ID Type

EVM ADDRESS

Cred Type

REST

Last Update Time

05/11/2025, 19:54:10

Method

POST

Endpoint

https://eth.llamarpc.com/***

Body

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_getTransactionCount",
  "params": [
    "$address",
    "latest"
  ]
}

Expression

function (resp) {
    if (resp.result == "") {
        return 0
    }
    const result = resp.result
    const count = parseInt(result, 16); 
    if (count > 0) {
        return 1
    }
    return 0
}