diff --git a/source/transaction-1559.ts b/source/transaction-1559.ts index 0976b77..40dbc98 100644 --- a/source/transaction-1559.ts +++ b/source/transaction-1559.ts @@ -14,7 +14,7 @@ export type Transaction1559Unsigned = { readonly to: bigint | null readonly value: bigint readonly data: Uint8Array - readonly accessList: [bigint, bigint[]][] + readonly accessList: readonly (readonly [bigint, readonly bigint[]])[] } export type Transaction1559Signed = Transaction1559Unsigned & { readonly yParity: bigint @@ -33,7 +33,7 @@ export type JsonTransaction1559Unsigned = { readonly to: string | null readonly value: string readonly data: string - readonly accessList: [string, string[]][] + readonly accessList: readonly (readonly [string, readonly string[]])[] } export type JsonTransaction1559Signed = JsonTransaction1559Unsigned & { readonly yParity: string diff --git a/source/transaction-2930.ts b/source/transaction-2930.ts index a0e1495..63f1705 100644 --- a/source/transaction-2930.ts +++ b/source/transaction-2930.ts @@ -13,7 +13,7 @@ export type Transaction2930Unsigned = { readonly to: bigint | null readonly value: bigint readonly data: Uint8Array - readonly accessList: [bigint, bigint[]][] + readonly accessList: readonly (readonly [bigint, readonly bigint[]])[] } export type Transaction2930Signed = Transaction2930Unsigned & { readonly yParity: bigint @@ -31,7 +31,7 @@ export type JsonTransaction2930Unsigned = { readonly to: string | null readonly value: string readonly data: string - readonly accessList: [string, string[]][] + readonly accessList: readonly (readonly [string, readonly string[]])[] } export type JsonTransaction2930Signed = JsonTransaction2930Unsigned & { readonly yParity: string