Skip to content

Commit

Permalink
Add create access list to provider method options
Browse files Browse the repository at this point in the history
  • Loading branch information
rileystephens28 committed Oct 14, 2024
1 parent e7f08e9 commit 20dca4b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions background/services/internal-quai-provider/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ export default class InternalQuaiProviderService extends BaseService<Events> {
return this.chainService.jsonRpcProvider
.estimateGas(params[0] as TransactionRequest)
.then((estimatedGas) => estimatedGas.toString())
case "quai_createAccessList":
return this.chainService.jsonRpcProvider.createAccessList(
params[0] as TransactionRequest
)
case "quai_getTransactionReceipt":
return this.chainService.jsonRpcProvider.getTransactionReceipt(
params[0] as string
Expand Down

0 comments on commit 20dca4b

Please sign in to comment.