diff --git a/src.ts/providers/provider-etherscan.ts b/src.ts/providers/provider-etherscan.ts index 2d58f964cb..9b28c7aa0c 100644 --- a/src.ts/providers/provider-etherscan.ts +++ b/src.ts/providers/provider-etherscan.ts @@ -96,6 +96,8 @@ export class EtherscanPlugin extends NetworkPlugin { } } +const skipKeys = [ "enableCcipRead" ]; + let nextId = 1; /** @@ -308,6 +310,8 @@ export class EtherscanProvider extends AbstractProvider { _getTransactionPostData(transaction: TransactionRequest): Record { const result: Record = { }; for (let key in transaction) { + if (skipKeys.indexOf(key) >= 0) { continue; } + if ((transaction)[key] == null) { continue; } let value = (transaction)[key]; if (key === "type" && value === 0) { continue; }