METHODS

io/ethers.js/blob/main/src.ts/providers/provider.ts#L1985) provider  .
broadcastTransaction  (  signedTx  :  string  )  ⇒  Promise< [
TransactionResponse ](/v6/api/providers/#TransactionResponse) >

Broadcasts the  signedTx  to the network, adding it to the memory pool of any
node for which the transaction meets the rebroadcast requirements.

io/ethers.js/blob/main/src.ts/providers/provider.ts#L1978) provider  .  call
(  tx  :  [ TransactionRequest ](/v6/api/providers/#TransactionRequest) )  ⇒
Promise< string  >

Simulate the execution of  tx  . If the call reverts, it will throw a  [
CallExceptionError ](/v6/api/utils/errors/#CallExceptionError) which includes
the revert data.

io/ethers.js/blob/main/src.ts/providers/provider.ts#L1903) provider  .
destroy  (  )  ⇒  void

Shutdown any resources this provider is using. No additional calls should be
made to this provider after calling this.

io/ethers.js/blob/main/src.ts/providers/provider.ts#L1972) provider  .
estimateGas  (  tx  :  [ TransactionRequest
](/v6/api/providers/#TransactionRequest) )  ⇒  Promise< bigint  >

Estimates the amount of gas required to executre  tx  .

io/ethers.js/blob/main/src.ts/providers/provider.ts#L1935) provider  .
getBalance  (  address  :  [ AddressLike ](/v6/api/address/#AddressLike) ,
blockTag  ?:  [ BlockTag ](/v6/api/providers/#BlockTag) )  ⇒  Promise< bigint
>

Get the account balance (in wei) of  address  . If  blockTag  is specified and
the node supports archive access for that  blockTag  , the balance is as of
that  [ BlockTag ](/v6/api/providers/#BlockTag) .


Resolves to the block for  blockHashOrBlockTag  .

If  prefetchTxs  , and the backend supports including transactions with block
requests, all transactions will be included and the  [ Block
](/v6/api/providers/#Block) object will not need to make remote calls for
getting transactions.

io/ethers.js/blob/main/src.ts/providers/provider.ts#L1911) provider  .
getBlockNumber  (  )  ⇒  Promise< number  >

Get the current block number.

io/ethers.js/blob/main/src.ts/providers/provider.ts#L1955) provider  .
getCode  (  address  :  [ AddressLike ](/v6/api/address/#AddressLike) ,
blockTag  ?:  [ BlockTag ](/v6/api/providers/#BlockTag) )  ⇒  Promise< string
>

Get the bytecode for  address  .

io/ethers.js/blob/main/src.ts/providers/provider.ts#L1921) provider  .
getFeeData  (  )  ⇒  Promise< [ FeeData ](/v6/api/providers/#FeeData) >

Get the best guess at the recommended  [ FeeData ](/v6/api/providers/#FeeData)
.


Resolves to the list of Logs that match  filter

io/ethers.js/blob/main/src.ts/providers/provider.ts#L1916) provider  .
getNetwork  (  )  ⇒  Promise< [ Network ](/v6/api/providers/#Network) >

Get the connected  [ Network ](/v6/api/providers/#Network) .

io/ethers.js/blob/main/src.ts/providers/provider.ts#L1963) provider  .
getStorage  (  address  :  [ AddressLike ](/v6/api/address/#AddressLike) ,
position  :  [ BigNumberish ](/v6/api/utils/#BigNumberish) ,  blockTag  ?:  [
BlockTag ](/v6/api/providers/#BlockTag) )  ⇒  Promise< string  >

Get the storage slot value for  address  at slot  position  .


Resolves to the transaction for  hash  .

If the transaction is unknown or on pruning nodes which discard old
transactions this resolves to  null  .

io/ethers.js/blob/main/src.ts/providers/provider.ts#L1947) provider  .
getTransactionCount  (  address  :  [ AddressLike
](/v6/api/address/#AddressLike) ,  blockTag  ?:  [ BlockTag
](/v6/api/providers/#BlockTag) )  ⇒  Promise< number  >

Get the number of transactions ever sent for  address  , which is used as the
nonce  when sending a transaction. If  blockTag  is specified and the node
supports archive access for that  blockTag  , the transaction count is as of
that  [ BlockTag ](/v6/api/providers/#BlockTag) .


Resolves to the transaction receipt for  hash  , if mined.

If the transaction has not been mined, is unknown or on pruning nodes which
discard old transactions this resolves to  null  .


Resolves to the result retur