@1delta/providers 0.0.55 → 0.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_esm-BLSSJTMS.mjs → _esm-UCTA3UBG.mjs} +33 -33
- package/dist/{ccip-RFS3A6PR.mjs → ccip-76VOVUYT.mjs} +1 -1
- package/dist/{chunk-RSHAYT5V.mjs → chunk-MN2NNAEA.mjs} +77 -77
- package/dist/index.d.mts +579 -0
- package/dist/index.d.ts +579 -0
- package/dist/index.js +769 -513
- package/dist/index.mjs +534 -278
- package/package.json +3 -3
- package/src/chains/chainMapping.ts +17 -0
- package/src/chains/customChains.ts +24 -0
- package/src/multicall/multicall.ts +9 -4
- package/src/rpc/rpcOverrides.ts +41 -1
package/dist/index.d.ts
CHANGED
|
@@ -452,6 +452,50 @@ declare const customChains: {
|
|
|
452
452
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
453
453
|
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
454
454
|
};
|
|
455
|
+
readonly pharosMainnet: {
|
|
456
|
+
blockExplorers: {
|
|
457
|
+
readonly default: {
|
|
458
|
+
readonly name: "Pharos Explorer";
|
|
459
|
+
readonly url: "https://explorer.pharos.xyz";
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
blockTime?: number | undefined | undefined;
|
|
463
|
+
contracts: {
|
|
464
|
+
readonly multicall3: {
|
|
465
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
466
|
+
readonly blockCreated: 1;
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
ensTlds?: readonly string[] | undefined;
|
|
470
|
+
id: 1672;
|
|
471
|
+
name: "Pharos Mainnet";
|
|
472
|
+
nativeCurrency: {
|
|
473
|
+
readonly decimals: 18;
|
|
474
|
+
readonly name: "Pharos";
|
|
475
|
+
readonly symbol: "PROS";
|
|
476
|
+
};
|
|
477
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
478
|
+
rpcUrls: {
|
|
479
|
+
readonly default: {
|
|
480
|
+
readonly http: readonly ["https://rpc.pharos.xyz"];
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
sourceId?: number | undefined | undefined;
|
|
484
|
+
testnet?: boolean | undefined | undefined;
|
|
485
|
+
custom?: Record<string, unknown> | undefined;
|
|
486
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
487
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
488
|
+
formatters?: undefined;
|
|
489
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
490
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
491
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
492
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
493
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
494
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
495
|
+
}] | undefined;
|
|
496
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
497
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
498
|
+
};
|
|
455
499
|
};
|
|
456
500
|
|
|
457
501
|
declare function getEvmChain(chain: string): {
|
|
@@ -892,6 +936,49 @@ declare function getEvmChain(chain: string): {
|
|
|
892
936
|
}] | undefined;
|
|
893
937
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
894
938
|
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
939
|
+
} | {
|
|
940
|
+
blockExplorers: {
|
|
941
|
+
readonly default: {
|
|
942
|
+
readonly name: "Pharos Explorer";
|
|
943
|
+
readonly url: "https://explorer.pharos.xyz";
|
|
944
|
+
};
|
|
945
|
+
};
|
|
946
|
+
blockTime?: number | undefined | undefined;
|
|
947
|
+
contracts: {
|
|
948
|
+
readonly multicall3: {
|
|
949
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
950
|
+
readonly blockCreated: 1;
|
|
951
|
+
};
|
|
952
|
+
};
|
|
953
|
+
ensTlds?: readonly string[] | undefined;
|
|
954
|
+
id: 1672;
|
|
955
|
+
name: "Pharos Mainnet";
|
|
956
|
+
nativeCurrency: {
|
|
957
|
+
readonly decimals: 18;
|
|
958
|
+
readonly name: "Pharos";
|
|
959
|
+
readonly symbol: "PROS";
|
|
960
|
+
};
|
|
961
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
962
|
+
rpcUrls: {
|
|
963
|
+
readonly default: {
|
|
964
|
+
readonly http: readonly ["https://rpc.pharos.xyz"];
|
|
965
|
+
};
|
|
966
|
+
};
|
|
967
|
+
sourceId?: number | undefined | undefined;
|
|
968
|
+
testnet?: boolean | undefined | undefined;
|
|
969
|
+
custom?: Record<string, unknown> | undefined;
|
|
970
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
971
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
972
|
+
formatters?: undefined;
|
|
973
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
974
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
975
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
976
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
977
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
978
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
979
|
+
}] | undefined;
|
|
980
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
981
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
895
982
|
} | {
|
|
896
983
|
blockExplorers: {
|
|
897
984
|
readonly default: {
|
|
@@ -7809,6 +7896,498 @@ declare function getEvmChain(chain: string): {
|
|
|
7809
7896
|
};
|
|
7810
7897
|
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
7811
7898
|
readonly network: "worldchain";
|
|
7899
|
+
} | {
|
|
7900
|
+
blockExplorers: {
|
|
7901
|
+
readonly default: {
|
|
7902
|
+
readonly name: "Blockscout";
|
|
7903
|
+
readonly url: "https://blockscout.lisk.com";
|
|
7904
|
+
readonly apiUrl: "https://blockscout.lisk.com/api";
|
|
7905
|
+
};
|
|
7906
|
+
};
|
|
7907
|
+
blockTime: 2000;
|
|
7908
|
+
contracts: {
|
|
7909
|
+
readonly multicall3: {
|
|
7910
|
+
readonly address: "0xA9d71E1dd7ca26F26e656E66d6AA81ed7f745bf0";
|
|
7911
|
+
};
|
|
7912
|
+
readonly l2OutputOracle: {
|
|
7913
|
+
readonly 1: {
|
|
7914
|
+
readonly address: "0x113cB99283AF242Da0A0C54347667edF531Aa7d6";
|
|
7915
|
+
};
|
|
7916
|
+
};
|
|
7917
|
+
readonly portal: {
|
|
7918
|
+
readonly 1: {
|
|
7919
|
+
readonly address: "0x26dB93F8b8b4f7016240af62F7730979d353f9A7";
|
|
7920
|
+
};
|
|
7921
|
+
};
|
|
7922
|
+
readonly l1StandardBridge: {
|
|
7923
|
+
readonly 1: {
|
|
7924
|
+
readonly address: "0x2658723Bf70c7667De6B25F99fcce13A16D25d08";
|
|
7925
|
+
};
|
|
7926
|
+
};
|
|
7927
|
+
readonly gasPriceOracle: {
|
|
7928
|
+
readonly address: "0x420000000000000000000000000000000000000F";
|
|
7929
|
+
};
|
|
7930
|
+
readonly l1Block: {
|
|
7931
|
+
readonly address: "0x4200000000000000000000000000000000000015";
|
|
7932
|
+
};
|
|
7933
|
+
readonly l2CrossDomainMessenger: {
|
|
7934
|
+
readonly address: "0x4200000000000000000000000000000000000007";
|
|
7935
|
+
};
|
|
7936
|
+
readonly l2Erc721Bridge: {
|
|
7937
|
+
readonly address: "0x4200000000000000000000000000000000000014";
|
|
7938
|
+
};
|
|
7939
|
+
readonly l2StandardBridge: {
|
|
7940
|
+
readonly address: "0x4200000000000000000000000000000000000010";
|
|
7941
|
+
};
|
|
7942
|
+
readonly l2ToL1MessagePasser: {
|
|
7943
|
+
readonly address: "0x4200000000000000000000000000000000000016";
|
|
7944
|
+
};
|
|
7945
|
+
};
|
|
7946
|
+
ensTlds?: readonly string[] | undefined;
|
|
7947
|
+
id: 1135;
|
|
7948
|
+
name: "Lisk";
|
|
7949
|
+
nativeCurrency: {
|
|
7950
|
+
readonly decimals: 18;
|
|
7951
|
+
readonly name: "Ether";
|
|
7952
|
+
readonly symbol: "ETH";
|
|
7953
|
+
};
|
|
7954
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
7955
|
+
rpcUrls: {
|
|
7956
|
+
readonly default: {
|
|
7957
|
+
readonly http: readonly ["https://rpc.api.lisk.com"];
|
|
7958
|
+
};
|
|
7959
|
+
};
|
|
7960
|
+
sourceId: 1;
|
|
7961
|
+
testnet?: boolean | undefined | undefined;
|
|
7962
|
+
custom?: Record<string, unknown> | undefined;
|
|
7963
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
7964
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
7965
|
+
formatters: {
|
|
7966
|
+
readonly block: {
|
|
7967
|
+
exclude: [] | undefined;
|
|
7968
|
+
format: (args: viem_chains.OpStackRpcBlock, action?: string | undefined) => {
|
|
7969
|
+
baseFeePerGas: bigint | null;
|
|
7970
|
+
blobGasUsed: bigint;
|
|
7971
|
+
difficulty: bigint;
|
|
7972
|
+
excessBlobGas: bigint;
|
|
7973
|
+
extraData: viem.Hex;
|
|
7974
|
+
gasLimit: bigint;
|
|
7975
|
+
gasUsed: bigint;
|
|
7976
|
+
hash: `0x${string}` | null;
|
|
7977
|
+
logsBloom: `0x${string}` | null;
|
|
7978
|
+
miner: viem.Address;
|
|
7979
|
+
mixHash: viem.Hash;
|
|
7980
|
+
nonce: `0x${string}` | null;
|
|
7981
|
+
number: bigint | null;
|
|
7982
|
+
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
7983
|
+
parentHash: viem.Hash;
|
|
7984
|
+
receiptsRoot: viem.Hex;
|
|
7985
|
+
sealFields: viem.Hex[];
|
|
7986
|
+
sha3Uncles: viem.Hash;
|
|
7987
|
+
size: bigint;
|
|
7988
|
+
stateRoot: viem.Hash;
|
|
7989
|
+
timestamp: bigint;
|
|
7990
|
+
totalDifficulty: bigint | null;
|
|
7991
|
+
transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
|
|
7992
|
+
transactionsRoot: viem.Hash;
|
|
7993
|
+
uncles: viem.Hash[];
|
|
7994
|
+
withdrawals?: viem.Withdrawal[] | undefined | undefined;
|
|
7995
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
7996
|
+
} & {};
|
|
7997
|
+
type: "block";
|
|
7998
|
+
};
|
|
7999
|
+
readonly transaction: {
|
|
8000
|
+
exclude: [] | undefined;
|
|
8001
|
+
format: (args: viem_chains.OpStackRpcTransaction, action?: string | undefined) => ({
|
|
8002
|
+
blockHash: `0x${string}` | null;
|
|
8003
|
+
blockNumber: bigint | null;
|
|
8004
|
+
from: viem.Address;
|
|
8005
|
+
gas: bigint;
|
|
8006
|
+
hash: viem.Hash;
|
|
8007
|
+
input: viem.Hex;
|
|
8008
|
+
nonce: number;
|
|
8009
|
+
r: viem.Hex;
|
|
8010
|
+
s: viem.Hex;
|
|
8011
|
+
to: viem.Address | null;
|
|
8012
|
+
transactionIndex: number | null;
|
|
8013
|
+
typeHex: viem.Hex | null;
|
|
8014
|
+
v: bigint;
|
|
8015
|
+
value: bigint;
|
|
8016
|
+
yParity: number;
|
|
8017
|
+
gasPrice?: undefined | undefined;
|
|
8018
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
8019
|
+
maxFeePerGas: bigint;
|
|
8020
|
+
maxPriorityFeePerGas: bigint;
|
|
8021
|
+
isSystemTx?: boolean;
|
|
8022
|
+
mint?: bigint | undefined | undefined;
|
|
8023
|
+
sourceHash: viem.Hex;
|
|
8024
|
+
type: "deposit";
|
|
8025
|
+
} | {
|
|
8026
|
+
r: viem.Hex;
|
|
8027
|
+
s: viem.Hex;
|
|
8028
|
+
v: bigint;
|
|
8029
|
+
to: viem.Address | null;
|
|
8030
|
+
from: viem.Address;
|
|
8031
|
+
gas: bigint;
|
|
8032
|
+
nonce: number;
|
|
8033
|
+
value: bigint;
|
|
8034
|
+
blockHash: `0x${string}` | null;
|
|
8035
|
+
blockNumber: bigint | null;
|
|
8036
|
+
hash: viem.Hash;
|
|
8037
|
+
input: viem.Hex;
|
|
8038
|
+
transactionIndex: number | null;
|
|
8039
|
+
typeHex: viem.Hex | null;
|
|
8040
|
+
accessList?: undefined | undefined;
|
|
8041
|
+
authorizationList?: undefined | undefined;
|
|
8042
|
+
blobVersionedHashes?: undefined | undefined;
|
|
8043
|
+
chainId?: number | undefined;
|
|
8044
|
+
yParity?: undefined | undefined;
|
|
8045
|
+
type: "legacy";
|
|
8046
|
+
gasPrice: bigint;
|
|
8047
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
8048
|
+
maxFeePerGas?: undefined | undefined;
|
|
8049
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
8050
|
+
isSystemTx?: undefined | undefined;
|
|
8051
|
+
mint?: undefined | undefined;
|
|
8052
|
+
sourceHash?: undefined | undefined;
|
|
8053
|
+
} | {
|
|
8054
|
+
blockHash: `0x${string}` | null;
|
|
8055
|
+
blockNumber: bigint | null;
|
|
8056
|
+
from: viem.Address;
|
|
8057
|
+
gas: bigint;
|
|
8058
|
+
hash: viem.Hash;
|
|
8059
|
+
input: viem.Hex;
|
|
8060
|
+
nonce: number;
|
|
8061
|
+
r: viem.Hex;
|
|
8062
|
+
s: viem.Hex;
|
|
8063
|
+
to: viem.Address | null;
|
|
8064
|
+
transactionIndex: number | null;
|
|
8065
|
+
typeHex: viem.Hex | null;
|
|
8066
|
+
v: bigint;
|
|
8067
|
+
value: bigint;
|
|
8068
|
+
yParity: number;
|
|
8069
|
+
accessList: viem.AccessList;
|
|
8070
|
+
authorizationList?: undefined | undefined;
|
|
8071
|
+
blobVersionedHashes?: undefined | undefined;
|
|
8072
|
+
chainId: number;
|
|
8073
|
+
type: "eip2930";
|
|
8074
|
+
gasPrice: bigint;
|
|
8075
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
8076
|
+
maxFeePerGas?: undefined | undefined;
|
|
8077
|
+
maxPriorityFeePerGas?: undefined | undefined;
|
|
8078
|
+
isSystemTx?: undefined | undefined;
|
|
8079
|
+
mint?: undefined | undefined;
|
|
8080
|
+
sourceHash?: undefined | undefined;
|
|
8081
|
+
} | {
|
|
8082
|
+
blockHash: `0x${string}` | null;
|
|
8083
|
+
blockNumber: bigint | null;
|
|
8084
|
+
from: viem.Address;
|
|
8085
|
+
gas: bigint;
|
|
8086
|
+
hash: viem.Hash;
|
|
8087
|
+
input: viem.Hex;
|
|
8088
|
+
nonce: number;
|
|
8089
|
+
r: viem.Hex;
|
|
8090
|
+
s: viem.Hex;
|
|
8091
|
+
to: viem.Address | null;
|
|
8092
|
+
transactionIndex: number | null;
|
|
8093
|
+
typeHex: viem.Hex | null;
|
|
8094
|
+
v: bigint;
|
|
8095
|
+
value: bigint;
|
|
8096
|
+
yParity: number;
|
|
8097
|
+
accessList: viem.AccessList;
|
|
8098
|
+
authorizationList?: undefined | undefined;
|
|
8099
|
+
blobVersionedHashes?: undefined | undefined;
|
|
8100
|
+
chainId: number;
|
|
8101
|
+
type: "eip1559";
|
|
8102
|
+
gasPrice?: undefined | undefined;
|
|
8103
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
8104
|
+
maxFeePerGas: bigint;
|
|
8105
|
+
maxPriorityFeePerGas: bigint;
|
|
8106
|
+
isSystemTx?: undefined | undefined;
|
|
8107
|
+
mint?: undefined | undefined;
|
|
8108
|
+
sourceHash?: undefined | undefined;
|
|
8109
|
+
} | {
|
|
8110
|
+
blockHash: `0x${string}` | null;
|
|
8111
|
+
blockNumber: bigint | null;
|
|
8112
|
+
from: viem.Address;
|
|
8113
|
+
gas: bigint;
|
|
8114
|
+
hash: viem.Hash;
|
|
8115
|
+
input: viem.Hex;
|
|
8116
|
+
nonce: number;
|
|
8117
|
+
r: viem.Hex;
|
|
8118
|
+
s: viem.Hex;
|
|
8119
|
+
to: viem.Address | null;
|
|
8120
|
+
transactionIndex: number | null;
|
|
8121
|
+
typeHex: viem.Hex | null;
|
|
8122
|
+
v: bigint;
|
|
8123
|
+
value: bigint;
|
|
8124
|
+
yParity: number;
|
|
8125
|
+
accessList: viem.AccessList;
|
|
8126
|
+
authorizationList?: undefined | undefined;
|
|
8127
|
+
blobVersionedHashes: readonly viem.Hex[];
|
|
8128
|
+
chainId: number;
|
|
8129
|
+
type: "eip4844";
|
|
8130
|
+
gasPrice?: undefined | undefined;
|
|
8131
|
+
maxFeePerBlobGas: bigint;
|
|
8132
|
+
maxFeePerGas: bigint;
|
|
8133
|
+
maxPriorityFeePerGas: bigint;
|
|
8134
|
+
isSystemTx?: undefined | undefined;
|
|
8135
|
+
mint?: undefined | undefined;
|
|
8136
|
+
sourceHash?: undefined | undefined;
|
|
8137
|
+
} | {
|
|
8138
|
+
blockHash: `0x${string}` | null;
|
|
8139
|
+
blockNumber: bigint | null;
|
|
8140
|
+
from: viem.Address;
|
|
8141
|
+
gas: bigint;
|
|
8142
|
+
hash: viem.Hash;
|
|
8143
|
+
input: viem.Hex;
|
|
8144
|
+
nonce: number;
|
|
8145
|
+
r: viem.Hex;
|
|
8146
|
+
s: viem.Hex;
|
|
8147
|
+
to: viem.Address | null;
|
|
8148
|
+
transactionIndex: number | null;
|
|
8149
|
+
typeHex: viem.Hex | null;
|
|
8150
|
+
v: bigint;
|
|
8151
|
+
value: bigint;
|
|
8152
|
+
yParity: number;
|
|
8153
|
+
accessList: viem.AccessList;
|
|
8154
|
+
authorizationList: viem.SignedAuthorizationList;
|
|
8155
|
+
blobVersionedHashes?: undefined | undefined;
|
|
8156
|
+
chainId: number;
|
|
8157
|
+
type: "eip7702";
|
|
8158
|
+
gasPrice?: undefined | undefined;
|
|
8159
|
+
maxFeePerBlobGas?: undefined | undefined;
|
|
8160
|
+
maxFeePerGas: bigint;
|
|
8161
|
+
maxPriorityFeePerGas: bigint;
|
|
8162
|
+
isSystemTx?: undefined | undefined;
|
|
8163
|
+
mint?: undefined | undefined;
|
|
8164
|
+
sourceHash?: undefined | undefined;
|
|
8165
|
+
}) & {};
|
|
8166
|
+
type: "transaction";
|
|
8167
|
+
};
|
|
8168
|
+
readonly transactionReceipt: {
|
|
8169
|
+
exclude: [] | undefined;
|
|
8170
|
+
format: (args: viem_chains.OpStackRpcTransactionReceipt, action?: string | undefined) => {
|
|
8171
|
+
blobGasPrice?: bigint | undefined;
|
|
8172
|
+
blobGasUsed?: bigint | undefined;
|
|
8173
|
+
blockHash: viem.Hash;
|
|
8174
|
+
blockNumber: bigint;
|
|
8175
|
+
contractAddress: viem.Address | null | undefined;
|
|
8176
|
+
cumulativeGasUsed: bigint;
|
|
8177
|
+
effectiveGasPrice: bigint;
|
|
8178
|
+
from: viem.Address;
|
|
8179
|
+
gasUsed: bigint;
|
|
8180
|
+
logs: viem.Log<bigint, number, false>[];
|
|
8181
|
+
logsBloom: viem.Hex;
|
|
8182
|
+
root?: `0x${string}` | undefined;
|
|
8183
|
+
status: "success" | "reverted";
|
|
8184
|
+
to: viem.Address | null;
|
|
8185
|
+
transactionHash: viem.Hash;
|
|
8186
|
+
transactionIndex: number;
|
|
8187
|
+
type: viem.TransactionType;
|
|
8188
|
+
l1GasPrice: bigint | null;
|
|
8189
|
+
l1GasUsed: bigint | null;
|
|
8190
|
+
l1Fee: bigint | null;
|
|
8191
|
+
l1FeeScalar: number | null;
|
|
8192
|
+
} & {};
|
|
8193
|
+
type: "transactionReceipt";
|
|
8194
|
+
};
|
|
8195
|
+
};
|
|
8196
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8197
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8198
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8199
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8200
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
8201
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
8202
|
+
}] | undefined;
|
|
8203
|
+
serializers: {
|
|
8204
|
+
readonly transaction: typeof viem_chains.serializeTransactionOpStack;
|
|
8205
|
+
};
|
|
8206
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
8207
|
+
readonly network: "lisk";
|
|
8208
|
+
} | {
|
|
8209
|
+
blockExplorers: {
|
|
8210
|
+
readonly default: {
|
|
8211
|
+
readonly name: "Etherscan";
|
|
8212
|
+
readonly url: "https://mega.etherscan.io";
|
|
8213
|
+
readonly apiUrl: "https://api.etherscan.io/v2/api";
|
|
8214
|
+
};
|
|
8215
|
+
readonly blockscout: {
|
|
8216
|
+
readonly name: "Etherscan";
|
|
8217
|
+
readonly url: "https://mega.etherscan.io";
|
|
8218
|
+
readonly apiUrl: "https://api.etherscan.io/v2/api";
|
|
8219
|
+
};
|
|
8220
|
+
};
|
|
8221
|
+
blockTime: 1000;
|
|
8222
|
+
contracts: {
|
|
8223
|
+
readonly multicall3: {
|
|
8224
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
8225
|
+
readonly blockCreated: 0;
|
|
8226
|
+
};
|
|
8227
|
+
};
|
|
8228
|
+
ensTlds?: readonly string[] | undefined;
|
|
8229
|
+
id: 4326;
|
|
8230
|
+
name: "MegaETH";
|
|
8231
|
+
nativeCurrency: {
|
|
8232
|
+
readonly name: "Ether";
|
|
8233
|
+
readonly symbol: "ETH";
|
|
8234
|
+
readonly decimals: 18;
|
|
8235
|
+
};
|
|
8236
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
8237
|
+
rpcUrls: {
|
|
8238
|
+
readonly default: {
|
|
8239
|
+
readonly http: readonly ["https://mainnet.megaeth.com/rpc"];
|
|
8240
|
+
readonly webSocket: readonly ["wss://mainnet.megaeth.com/ws"];
|
|
8241
|
+
};
|
|
8242
|
+
};
|
|
8243
|
+
sourceId?: number | undefined | undefined;
|
|
8244
|
+
testnet?: boolean | undefined | undefined;
|
|
8245
|
+
custom?: Record<string, unknown> | undefined;
|
|
8246
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
8247
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
8248
|
+
formatters?: undefined;
|
|
8249
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8250
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8251
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8252
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8253
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
8254
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
8255
|
+
}] | undefined;
|
|
8256
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
8257
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
8258
|
+
} | {
|
|
8259
|
+
blockExplorers: {
|
|
8260
|
+
readonly default: {
|
|
8261
|
+
readonly name: "Stablescan";
|
|
8262
|
+
readonly url: "https://stablescan.xyz";
|
|
8263
|
+
readonly apiUrl: "https://api.etherscan.io/v2/api?chainid=988";
|
|
8264
|
+
};
|
|
8265
|
+
};
|
|
8266
|
+
blockTime: 700;
|
|
8267
|
+
contracts: {
|
|
8268
|
+
readonly multicall3: {
|
|
8269
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
8270
|
+
readonly blockCreated: 2423647;
|
|
8271
|
+
};
|
|
8272
|
+
};
|
|
8273
|
+
ensTlds?: readonly string[] | undefined;
|
|
8274
|
+
id: 988;
|
|
8275
|
+
name: "Stable Mainnet";
|
|
8276
|
+
nativeCurrency: {
|
|
8277
|
+
readonly name: "USDT0";
|
|
8278
|
+
readonly symbol: "USDT0";
|
|
8279
|
+
readonly decimals: 18;
|
|
8280
|
+
};
|
|
8281
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
8282
|
+
rpcUrls: {
|
|
8283
|
+
readonly default: {
|
|
8284
|
+
readonly http: readonly ["https://rpc.stable.xyz"];
|
|
8285
|
+
readonly webSocket: readonly ["wss://rpc.stable.xyz"];
|
|
8286
|
+
};
|
|
8287
|
+
};
|
|
8288
|
+
sourceId?: number | undefined | undefined;
|
|
8289
|
+
testnet: false;
|
|
8290
|
+
custom?: Record<string, unknown> | undefined;
|
|
8291
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
8292
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
8293
|
+
formatters?: undefined;
|
|
8294
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8295
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8296
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8297
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8298
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
8299
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
8300
|
+
}] | undefined;
|
|
8301
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
8302
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
8303
|
+
} | {
|
|
8304
|
+
blockExplorers: {
|
|
8305
|
+
readonly default: {
|
|
8306
|
+
readonly name: "Blockscout";
|
|
8307
|
+
readonly url: "https://explorer.plume.org";
|
|
8308
|
+
readonly apiUrl: "https://explorer.plume.org/api";
|
|
8309
|
+
};
|
|
8310
|
+
};
|
|
8311
|
+
blockTime?: number | undefined | undefined;
|
|
8312
|
+
contracts: {
|
|
8313
|
+
readonly multicall3: {
|
|
8314
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
8315
|
+
readonly blockCreated: 39679;
|
|
8316
|
+
};
|
|
8317
|
+
};
|
|
8318
|
+
ensTlds?: readonly string[] | undefined;
|
|
8319
|
+
id: 98866;
|
|
8320
|
+
name: "Plume";
|
|
8321
|
+
nativeCurrency: {
|
|
8322
|
+
readonly name: "Plume";
|
|
8323
|
+
readonly symbol: "PLUME";
|
|
8324
|
+
readonly decimals: 18;
|
|
8325
|
+
};
|
|
8326
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
8327
|
+
rpcUrls: {
|
|
8328
|
+
readonly default: {
|
|
8329
|
+
readonly http: readonly ["https://rpc.plume.org"];
|
|
8330
|
+
readonly webSocket: readonly ["wss://rpc.plume.org"];
|
|
8331
|
+
};
|
|
8332
|
+
};
|
|
8333
|
+
sourceId: 1;
|
|
8334
|
+
testnet?: boolean | undefined | undefined;
|
|
8335
|
+
custom?: Record<string, unknown> | undefined;
|
|
8336
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
8337
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
8338
|
+
formatters?: undefined;
|
|
8339
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8340
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8341
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8342
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8343
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
8344
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
8345
|
+
}] | undefined;
|
|
8346
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
8347
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
8348
|
+
} | {
|
|
8349
|
+
blockExplorers: {
|
|
8350
|
+
readonly default: {
|
|
8351
|
+
readonly name: "Etherlink";
|
|
8352
|
+
readonly url: "https://explorer.etherlink.com";
|
|
8353
|
+
};
|
|
8354
|
+
};
|
|
8355
|
+
blockTime: 4830;
|
|
8356
|
+
contracts: {
|
|
8357
|
+
readonly multicall3: {
|
|
8358
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
8359
|
+
readonly blockCreated: 33899;
|
|
8360
|
+
};
|
|
8361
|
+
};
|
|
8362
|
+
ensTlds?: readonly string[] | undefined;
|
|
8363
|
+
id: 42793;
|
|
8364
|
+
name: "Etherlink";
|
|
8365
|
+
nativeCurrency: {
|
|
8366
|
+
readonly decimals: 18;
|
|
8367
|
+
readonly name: "Tez";
|
|
8368
|
+
readonly symbol: "XTZ";
|
|
8369
|
+
};
|
|
8370
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
8371
|
+
rpcUrls: {
|
|
8372
|
+
readonly default: {
|
|
8373
|
+
readonly http: readonly ["https://node.mainnet.etherlink.com"];
|
|
8374
|
+
};
|
|
8375
|
+
};
|
|
8376
|
+
sourceId?: number | undefined | undefined;
|
|
8377
|
+
testnet?: boolean | undefined | undefined;
|
|
8378
|
+
custom?: Record<string, unknown> | undefined;
|
|
8379
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
8380
|
+
fees?: viem.ChainFees<undefined> | undefined;
|
|
8381
|
+
formatters?: undefined;
|
|
8382
|
+
prepareTransactionRequest?: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8383
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8384
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | [fn: ((args: viem.PrepareTransactionRequestParameters, options: {
|
|
8385
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
8386
|
+
}) => Promise<viem.PrepareTransactionRequestParameters>) | undefined, options: {
|
|
8387
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
8388
|
+
}] | undefined;
|
|
8389
|
+
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
8390
|
+
verifyHash?: ((client: viem.Client, parameters: viem.VerifyHashActionParameters) => Promise<viem.VerifyHashActionReturnType>) | undefined;
|
|
7812
8391
|
} | {
|
|
7813
8392
|
contracts: {
|
|
7814
8393
|
multicall3: {
|