ethers
beta-exports.16
DOCUMENTATION
Getting Started
Ethereum Basics
Application Programming Interface
Application Binary Interface
Addresses
Constants
Contracts
Cryptographic Functions
Hashing Utilities
Providers
Community Providers
ENS Resolver
Fallback Provider
Formatting
BlockParams
LogParams
TransactionReceiptParams
TransactionResponseParams
JSON-RPC Provider
Subclassing Provider
Subclassing Signer
Transactions
Utilities
Wallets
Wordlists
Migrating from v5
Contributings and Hacking
License and Copyright
Documentation
»
API
»
Providers
»
Formatting
Formatting
About provider formatting?
BlockParams
LogParams
TransactionReceiptParams
TransactionResponseParams
<src>
interface
BlockParams
PROPERTIES
<src>
blockParams
.
baseFeePerGas
⇒
null
|
bigint
<src>
blockParams
.
difficulty
⇒
bigint
<src>
blockParams
.
extraData
⇒
string
<src>
blockParams
.
gasLimit
⇒
bigint
<src>
blockParams
.
gasUsed
⇒
bigint
<src>
blockParams
.
hash
⇒
null
|
string
<src>
blockParams
.
miner
⇒
string
<src>
blockParams
.
nonce
⇒
string
<src>
blockParams
.
number
⇒
number
<src>
blockParams
.
parentHash
⇒
string
<src>
blockParams
.
timestamp
⇒
number
<src>
blockParams
.
transactions
⇒
ReadonlyArray<
string
|
TransactionResponseParams
>
<src>
interface
LogParams
PROPERTIES
<src>
logParams
.
address
⇒
string
<src>
logParams
.
blockHash
⇒
string
<src>
logParams
.
blockNumber
⇒
number
<src>
logParams
.
data
⇒
string
<src>
logParams
.
index
⇒
number
<src>
logParams
.
removed
⇒
boolean
<src>
logParams
.
topics
⇒
ReadonlyArray<
string
>
<src>
logParams
.
transactionHash
⇒
string
<src>
logParams
.
transactionIndex
⇒
number
<src>
interface
TransactionReceiptParams
PROPERTIES
<src>
transactionReceiptParams
.
blockHash
⇒
string
<src>
transactionReceiptParams
.
blockNumber
⇒
number
<src>
transactionReceiptParams
.
contractAddress
⇒
null
|
string
<src>
transactionReceiptParams
.
cumulativeGasUsed
⇒
bigint
<src>
transactionReceiptParams
.
effectiveGasPrice
⇒
null
|
bigint
<src>
transactionReceiptParams
.
from
⇒
string
<src>
transactionReceiptParams
.
gasPrice
⇒
null
|
bigint
<src>
transactionReceiptParams
.
gasUsed
⇒
bigint
<src>
transactionReceiptParams
.
hash
⇒
string
<src>
transactionReceiptParams
.
index
⇒
number
<src>
transactionReceiptParams
.
logs
⇒
ReadonlyArray<
LogParams
>
<src>
transactionReceiptParams
.
logsBloom
⇒
string
<src>
transactionReceiptParams
.
root
⇒
null
|
string
<src>
transactionReceiptParams
.
status
⇒
null
|
number
<src>
transactionReceiptParams
.
to
⇒
null
|
string
<src>
transactionReceiptParams
.
type
⇒
number
<src>
interface
TransactionResponseParams
PROPERTIES
<src>
transactionResponseParams
.
accessList
⇒
null
|
AccessList
<src>
transactionResponseParams
.
blockHash
⇒
null
|
string
<src>
transactionResponseParams
.
blockNumber
⇒
null
|
number
<src>
transactionResponseParams
.
chainId
⇒
bigint
<src>
transactionResponseParams
.
data
⇒
string
<src>
transactionResponseParams
.
from
⇒
string
<src>
transactionResponseParams
.
gasLimit
⇒
bigint
<src>
transactionResponseParams
.
gasPrice
⇒
bigint
<src>
transactionResponseParams
.
hash
⇒
string
<src>
transactionResponseParams
.
index
⇒
number
<src>
transactionResponseParams
.
maxFeePerGas
⇒
null
|
bigint
<src>
transactionResponseParams
.
maxPriorityFeePerGas
⇒
null
|
bigint
<src>
transactionResponseParams
.
nonce
⇒
number
<src>
transactionResponseParams
.
signature
⇒
Signature
<src>
transactionResponseParams
.
to
⇒
null
|
string
<src>
transactionResponseParams
.
type
⇒
number
<src>
transactionResponseParams
.
value
⇒
bigint