Description Usage Arguments Details Value Warning
Get details of one or more transactions by hash.
1 | get_tx(tx, api_key)
|
tx |
A character vector of one or more transaction hashes (hexadecimal, 64 characters, with 0x prepended). |
api_key |
An Etherscan API key (see Details). |
get_tx
uses the Etherscan API to source information about
transactions to and from an Ethereum address. Register for an API key at
the Etherscan Developer APIs page.
A data.frame
with one row per element of tx
, with
columns: blockHash
, blockNumber
, from
, gas
,
gasPrice
, hash
, input
, nonce
, to
,
transactionIndex
, value
, v
, r
, s
.
As per the Etherscan documentation, the Etherscan Ethereum Developer APIs are provided as a community service and without warranty, so please just use what you need and no more. They support both GET/POST requests and a rate limit of 5 requests/sec.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.