viem 2.49.3 → 2.50.4
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/CHANGELOG.md +60 -0
- package/_cjs/actions/ens/getEnsAddress.js +21 -6
- package/_cjs/actions/ens/getEnsAddress.js.map +1 -1
- package/_cjs/actions/public/call.js +76 -41
- package/_cjs/actions/public/call.js.map +1 -1
- package/_cjs/actions/public/getBalance.js +11 -4
- package/_cjs/actions/public/getBalance.js.map +1 -1
- package/_cjs/actions/public/getCode.js +12 -5
- package/_cjs/actions/public/getCode.js.map +1 -1
- package/_cjs/actions/public/getProof.js +9 -5
- package/_cjs/actions/public/getProof.js.map +1 -1
- package/_cjs/actions/public/getStorageAt.js +9 -4
- package/_cjs/actions/public/getStorageAt.js.map +1 -1
- package/_cjs/actions/public/getTransactionCount.js +10 -7
- package/_cjs/actions/public/getTransactionCount.js.map +1 -1
- package/_cjs/actions/public/multicall.js +3 -1
- package/_cjs/actions/public/multicall.js.map +1 -1
- package/_cjs/actions/public/readContract.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js +14 -0
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/actions/wallet/sendTransactionSync.js +15 -0
- package/_cjs/actions/wallet/sendTransactionSync.js.map +1 -1
- package/_cjs/chains/definitions/mizuhikiTestnetAwaji.js +29 -0
- package/_cjs/chains/definitions/mizuhikiTestnetAwaji.js.map +1 -0
- package/_cjs/chains/definitions/morphHolesky.js +1 -1
- package/_cjs/chains/definitions/morphHolesky.js.map +1 -1
- package/_cjs/chains/definitions/sentrix.js +29 -0
- package/_cjs/chains/definitions/sentrix.js.map +1 -0
- package/_cjs/chains/definitions/sentrixTestnet.js +30 -0
- package/_cjs/chains/definitions/sentrixTestnet.js.map +1 -0
- package/_cjs/chains/definitions/sova.js +1 -1
- package/_cjs/chains/definitions/sova.js.map +1 -1
- package/_cjs/chains/index.js +13 -7
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/constants/solidity.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js +5 -3
- package/_cjs/index.js.map +1 -1
- package/_cjs/tempo/Chain.js +19 -0
- package/_cjs/tempo/Chain.js.map +1 -0
- package/_cjs/tempo/Decorator.js +1 -0
- package/_cjs/tempo/Decorator.js.map +1 -1
- package/_cjs/tempo/actions/fee.js +61 -0
- package/_cjs/tempo/actions/fee.js.map +1 -1
- package/_cjs/tempo/chainConfig.js +16 -6
- package/_cjs/tempo/chainConfig.js.map +1 -1
- package/_cjs/tempo/chains/index.js +11 -0
- package/_cjs/tempo/chains/index.js.map +1 -0
- package/_cjs/tempo/errors.js +58 -0
- package/_cjs/tempo/errors.js.map +1 -0
- package/_cjs/tempo/index.js +17 -1
- package/_cjs/tempo/index.js.map +1 -1
- package/_cjs/utils/abi/encodeEventTopics.js +4 -2
- package/_cjs/utils/abi/encodeEventTopics.js.map +1 -1
- package/_cjs/utils/block/formatBlockParameter.js +16 -0
- package/_cjs/utils/block/formatBlockParameter.js.map +1 -0
- package/_cjs/utils/ccipTunnel.js +65 -0
- package/_cjs/utils/ccipTunnel.js.map +1 -0
- package/_cjs/utils/index.js +6 -4
- package/_cjs/utils/index.js.map +1 -1
- package/_cjs/utils/nonceManager.js +7 -3
- package/_cjs/utils/nonceManager.js.map +1 -1
- package/_cjs/utils/observe.js +7 -1
- package/_cjs/utils/observe.js.map +1 -1
- package/_cjs/utils/rpc/socket.js +19 -2
- package/_cjs/utils/rpc/socket.js.map +1 -1
- package/_esm/actions/ens/getEnsAddress.js +21 -6
- package/_esm/actions/ens/getEnsAddress.js.map +1 -1
- package/_esm/actions/public/call.js +76 -41
- package/_esm/actions/public/call.js.map +1 -1
- package/_esm/actions/public/getBalance.js +11 -4
- package/_esm/actions/public/getBalance.js.map +1 -1
- package/_esm/actions/public/getCode.js +12 -5
- package/_esm/actions/public/getCode.js.map +1 -1
- package/_esm/actions/public/getProof.js +9 -5
- package/_esm/actions/public/getProof.js.map +1 -1
- package/_esm/actions/public/getStorageAt.js +9 -4
- package/_esm/actions/public/getStorageAt.js.map +1 -1
- package/_esm/actions/public/getTransactionCount.js +10 -7
- package/_esm/actions/public/getTransactionCount.js.map +1 -1
- package/_esm/actions/public/multicall.js +3 -1
- package/_esm/actions/public/multicall.js.map +1 -1
- package/_esm/actions/public/readContract.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/actions/wallet/sendTransaction.js +14 -0
- package/_esm/actions/wallet/sendTransaction.js.map +1 -1
- package/_esm/actions/wallet/sendTransactionSync.js +15 -0
- package/_esm/actions/wallet/sendTransactionSync.js.map +1 -1
- package/_esm/chains/definitions/mizuhikiTestnetAwaji.js +26 -0
- package/_esm/chains/definitions/mizuhikiTestnetAwaji.js.map +1 -0
- package/_esm/chains/definitions/morphHolesky.js +1 -1
- package/_esm/chains/definitions/morphHolesky.js.map +1 -1
- package/_esm/chains/definitions/sentrix.js +26 -0
- package/_esm/chains/definitions/sentrix.js.map +1 -0
- package/_esm/chains/definitions/sentrixTestnet.js +27 -0
- package/_esm/chains/definitions/sentrixTestnet.js.map +1 -0
- package/_esm/chains/definitions/sova.js +1 -1
- package/_esm/chains/definitions/sova.js.map +1 -1
- package/_esm/chains/index.js +3 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/constants/solidity.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js +1 -0
- package/_esm/index.js.map +1 -1
- package/_esm/tempo/Chain.js +6 -0
- package/_esm/tempo/Chain.js.map +1 -0
- package/_esm/tempo/Decorator.js +1 -0
- package/_esm/tempo/Decorator.js.map +1 -1
- package/_esm/tempo/actions/fee.js +83 -0
- package/_esm/tempo/actions/fee.js.map +1 -1
- package/_esm/tempo/actions/wallet.js +2 -2
- package/_esm/tempo/chainConfig.js +18 -8
- package/_esm/tempo/chainConfig.js.map +1 -1
- package/_esm/tempo/chains/index.js +3 -0
- package/_esm/tempo/chains/index.js.map +1 -0
- package/_esm/tempo/errors.js +51 -0
- package/_esm/tempo/errors.js.map +1 -0
- package/_esm/tempo/index.js +2 -0
- package/_esm/tempo/index.js.map +1 -1
- package/_esm/utils/abi/encodeEventTopics.js +6 -2
- package/_esm/utils/abi/encodeEventTopics.js.map +1 -1
- package/_esm/utils/block/formatBlockParameter.js +39 -0
- package/_esm/utils/block/formatBlockParameter.js.map +1 -0
- package/_esm/utils/ccipTunnel.js +62 -0
- package/_esm/utils/ccipTunnel.js.map +1 -0
- package/_esm/utils/index.js +1 -0
- package/_esm/utils/index.js.map +1 -1
- package/_esm/utils/nonceManager.js +7 -3
- package/_esm/utils/nonceManager.js.map +1 -1
- package/_esm/utils/observe.js +7 -1
- package/_esm/utils/observe.js.map +1 -1
- package/_esm/utils/rpc/socket.js +20 -2
- package/_esm/utils/rpc/socket.js.map +1 -1
- package/_types/actions/ens/getEnsAddress.d.ts +3 -1
- package/_types/actions/ens/getEnsAddress.d.ts.map +1 -1
- package/_types/actions/public/call.d.ts +17 -6
- package/_types/actions/public/call.d.ts.map +1 -1
- package/_types/actions/public/getBalance.d.ts +15 -3
- package/_types/actions/public/getBalance.d.ts.map +1 -1
- package/_types/actions/public/getCode.d.ts +15 -4
- package/_types/actions/public/getCode.d.ts.map +1 -1
- package/_types/actions/public/getProof.d.ts +14 -3
- package/_types/actions/public/getProof.d.ts.map +1 -1
- package/_types/actions/public/getStorageAt.d.ts +15 -4
- package/_types/actions/public/getStorageAt.d.ts.map +1 -1
- package/_types/actions/public/getTransactionCount.d.ts +15 -3
- package/_types/actions/public/getTransactionCount.d.ts.map +1 -1
- package/_types/actions/public/multicall.d.ts +1 -1
- package/_types/actions/public/multicall.d.ts.map +1 -1
- package/_types/actions/public/readContract.d.ts +1 -1
- package/_types/actions/public/readContract.d.ts.map +1 -1
- package/_types/actions/wallet/prepareTransactionRequest.d.ts +4 -2
- package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/sendTransactionSync.d.ts.map +1 -1
- package/_types/chains/definitions/mizuhikiTestnetAwaji.d.ts +46 -0
- package/_types/chains/definitions/mizuhikiTestnetAwaji.d.ts.map +1 -0
- package/_types/chains/definitions/morphHolesky.d.ts +1 -1
- package/_types/chains/definitions/sentrix.d.ts +46 -0
- package/_types/chains/definitions/sentrix.d.ts.map +1 -0
- package/_types/chains/definitions/sentrixTestnet.d.ts +46 -0
- package/_types/chains/definitions/sentrixTestnet.d.ts.map +1 -0
- package/_types/chains/definitions/sova.d.ts +1 -1
- package/_types/chains/definitions/tempo.d.ts +8 -8
- package/_types/chains/definitions/tempoDevnet.d.ts +8 -8
- package/_types/chains/definitions/tempoLocalnet.d.ts +8 -8
- package/_types/chains/definitions/tempoModerato.d.ts +8 -8
- package/_types/chains/index.d.ts +47 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/constants/solidity.d.ts +16 -3
- package/_types/constants/solidity.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +1 -0
- package/_types/index.d.ts.map +1 -1
- package/_types/tempo/Chain.d.ts +5 -0
- package/_types/tempo/Chain.d.ts.map +1 -0
- package/_types/tempo/Decorator.d.ts +23 -0
- package/_types/tempo/Decorator.d.ts.map +1 -1
- package/_types/tempo/actions/fee.d.ts +38 -0
- package/_types/tempo/actions/fee.d.ts.map +1 -1
- package/_types/tempo/actions/wallet.d.ts +9 -6
- package/_types/tempo/actions/wallet.d.ts.map +1 -1
- package/_types/tempo/chainConfig.d.ts.map +1 -1
- package/_types/tempo/chains/index.d.ts +2 -0
- package/_types/tempo/chains/index.d.ts.map +1 -0
- package/_types/tempo/errors.d.ts +36 -0
- package/_types/tempo/errors.d.ts.map +1 -0
- package/_types/tempo/index.d.ts +2 -0
- package/_types/tempo/index.d.ts.map +1 -1
- package/_types/types/block.d.ts +3 -4
- package/_types/types/block.d.ts.map +1 -1
- package/_types/types/eip1193.d.ts +1 -1
- package/_types/types/eip1193.d.ts.map +1 -1
- package/_types/utils/abi/encodeEventTopics.d.ts +6 -2
- package/_types/utils/abi/encodeEventTopics.d.ts.map +1 -1
- package/_types/utils/block/formatBlockParameter.d.ts +45 -0
- package/_types/utils/block/formatBlockParameter.d.ts.map +1 -0
- package/_types/utils/ccipTunnel.d.ts +9 -0
- package/_types/utils/ccipTunnel.d.ts.map +1 -0
- package/_types/utils/index.d.ts +1 -0
- package/_types/utils/index.d.ts.map +1 -1
- package/_types/utils/nonceManager.d.ts.map +1 -1
- package/_types/utils/observe.d.ts.map +1 -1
- package/_types/utils/rpc/socket.d.ts.map +1 -1
- package/actions/ens/getEnsAddress.ts +34 -6
- package/actions/public/call.ts +125 -51
- package/actions/public/getBalance.ts +30 -9
- package/actions/public/getCode.ts +35 -11
- package/actions/public/getProof.ts +27 -11
- package/actions/public/getStorageAt.ts +33 -10
- package/actions/public/getTransactionCount.ts +33 -11
- package/actions/public/multicall.ts +6 -0
- package/actions/public/readContract.ts +2 -0
- package/actions/wallet/prepareTransactionRequest.ts +11 -15
- package/actions/wallet/sendTransaction.ts +13 -0
- package/actions/wallet/sendTransactionSync.ts +16 -0
- package/chains/definitions/mizuhikiTestnetAwaji.ts +26 -0
- package/chains/definitions/morphHolesky.ts +1 -1
- package/chains/definitions/sentrix.ts +26 -0
- package/chains/definitions/sentrixTestnet.ts +27 -0
- package/chains/definitions/sova.ts +1 -1
- package/chains/index.ts +53 -0
- package/constants/solidity.ts +4 -4
- package/errors/version.ts +1 -1
- package/index.ts +4 -0
- package/package.json +11 -3
- package/tempo/Chain.ts +20 -0
- package/tempo/Decorator.ts +27 -0
- package/tempo/actions/fee.ts +117 -1
- package/tempo/actions/wallet.ts +9 -6
- package/tempo/chainConfig.ts +18 -12
- package/tempo/chains/index.ts +9 -0
- package/tempo/chains/package.json +6 -0
- package/tempo/errors.ts +78 -0
- package/tempo/index.ts +2 -0
- package/types/block.ts +3 -5
- package/types/eip1193.ts +1 -1
- package/utils/abi/encodeEventTopics.ts +25 -6
- package/utils/block/formatBlockParameter.ts +63 -0
- package/utils/ccipTunnel.ts +67 -0
- package/utils/index.ts +4 -0
- package/utils/nonceManager.ts +7 -3
- package/utils/observe.ts +7 -4
- package/utils/rpc/socket.ts +21 -2
|
@@ -5,12 +5,12 @@ import type { Transport } from '../../clients/transports/createTransport.js'
|
|
|
5
5
|
import type { ErrorType } from '../../errors/utils.js'
|
|
6
6
|
import type { BlockTag } from '../../types/block.js'
|
|
7
7
|
import type { Chain } from '../../types/chain.js'
|
|
8
|
-
import type { Hex } from '../../types/misc.js'
|
|
9
|
-
import type { RequestErrorType } from '../../utils/buildRequest.js'
|
|
8
|
+
import type { Hash, Hex } from '../../types/misc.js'
|
|
10
9
|
import {
|
|
11
|
-
type
|
|
12
|
-
|
|
13
|
-
} from '../../utils/
|
|
10
|
+
type FormatBlockParameterErrorType,
|
|
11
|
+
formatBlockParameter,
|
|
12
|
+
} from '../../utils/block/formatBlockParameter.js'
|
|
13
|
+
import type { RequestErrorType } from '../../utils/buildRequest.js'
|
|
14
14
|
|
|
15
15
|
export type GetCodeParameters = {
|
|
16
16
|
address: Address
|
|
@@ -18,17 +18,29 @@ export type GetCodeParameters = {
|
|
|
18
18
|
| {
|
|
19
19
|
blockNumber?: undefined
|
|
20
20
|
blockTag?: BlockTag | undefined
|
|
21
|
+
blockHash?: undefined
|
|
22
|
+
requireCanonical?: undefined
|
|
21
23
|
}
|
|
22
24
|
| {
|
|
23
25
|
blockNumber?: bigint | undefined
|
|
24
26
|
blockTag?: undefined
|
|
27
|
+
blockHash?: undefined
|
|
28
|
+
requireCanonical?: undefined
|
|
29
|
+
}
|
|
30
|
+
| {
|
|
31
|
+
blockNumber?: undefined
|
|
32
|
+
blockTag?: undefined
|
|
33
|
+
/** The bytecode at a block specified by block hash. */
|
|
34
|
+
blockHash: Hash
|
|
35
|
+
/** Whether or not to throw an error if the block is not in the canonical chain. Only allowed in conjunction with `blockHash`. */
|
|
36
|
+
requireCanonical?: boolean | undefined
|
|
25
37
|
}
|
|
26
38
|
)
|
|
27
39
|
|
|
28
40
|
export type GetCodeReturnType = Hex | undefined
|
|
29
41
|
|
|
30
42
|
export type GetCodeErrorType =
|
|
31
|
-
|
|
|
43
|
+
| FormatBlockParameterErrorType
|
|
32
44
|
| RequestErrorType
|
|
33
45
|
| ErrorType
|
|
34
46
|
|
|
@@ -57,16 +69,28 @@ export type GetCodeErrorType =
|
|
|
57
69
|
*/
|
|
58
70
|
export async function getCode<chain extends Chain | undefined>(
|
|
59
71
|
client: Client<Transport, chain>,
|
|
60
|
-
{
|
|
72
|
+
{
|
|
73
|
+
address,
|
|
74
|
+
blockHash,
|
|
75
|
+
blockNumber,
|
|
76
|
+
blockTag = 'latest',
|
|
77
|
+
requireCanonical,
|
|
78
|
+
}: GetCodeParameters,
|
|
61
79
|
): Promise<GetCodeReturnType> {
|
|
62
|
-
const
|
|
63
|
-
|
|
80
|
+
const block = formatBlockParameter({
|
|
81
|
+
blockHash,
|
|
82
|
+
blockNumber,
|
|
83
|
+
blockTag,
|
|
84
|
+
requireCanonical,
|
|
85
|
+
})
|
|
64
86
|
const hex = await client.request(
|
|
65
87
|
{
|
|
66
88
|
method: 'eth_getCode',
|
|
67
|
-
params: [address,
|
|
89
|
+
params: [address, block],
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
dedupe: typeof blockNumber === 'bigint' || blockHash !== undefined,
|
|
68
93
|
},
|
|
69
|
-
{ dedupe: Boolean(blockNumberHex) },
|
|
70
94
|
)
|
|
71
95
|
if (hex === '0x') return undefined
|
|
72
96
|
return hex
|
|
@@ -6,11 +6,11 @@ import type { BlockTag } from '../../types/block.js'
|
|
|
6
6
|
import type { Chain } from '../../types/chain.js'
|
|
7
7
|
import type { Hash } from '../../types/misc.js'
|
|
8
8
|
import type { Proof } from '../../types/proof.js'
|
|
9
|
-
import type { RequestErrorType } from '../../utils/buildRequest.js'
|
|
10
9
|
import {
|
|
11
|
-
type
|
|
12
|
-
|
|
13
|
-
} from '../../utils/
|
|
10
|
+
type FormatBlockParameterErrorType,
|
|
11
|
+
formatBlockParameter,
|
|
12
|
+
} from '../../utils/block/formatBlockParameter.js'
|
|
13
|
+
import type { RequestErrorType } from '../../utils/buildRequest.js'
|
|
14
14
|
import {
|
|
15
15
|
type FormatProofErrorType,
|
|
16
16
|
formatProof,
|
|
@@ -26,6 +26,8 @@ export type GetProofParameters = {
|
|
|
26
26
|
/** The block number. */
|
|
27
27
|
blockNumber?: bigint | undefined
|
|
28
28
|
blockTag?: undefined
|
|
29
|
+
blockHash?: undefined
|
|
30
|
+
requireCanonical?: undefined
|
|
29
31
|
}
|
|
30
32
|
| {
|
|
31
33
|
blockNumber?: undefined
|
|
@@ -34,13 +36,23 @@ export type GetProofParameters = {
|
|
|
34
36
|
* @default 'latest'
|
|
35
37
|
*/
|
|
36
38
|
blockTag?: BlockTag | undefined
|
|
39
|
+
blockHash?: undefined
|
|
40
|
+
requireCanonical?: undefined
|
|
41
|
+
}
|
|
42
|
+
| {
|
|
43
|
+
blockNumber?: undefined
|
|
44
|
+
blockTag?: undefined
|
|
45
|
+
/** The proof at a block specified by block hash. */
|
|
46
|
+
blockHash: Hash
|
|
47
|
+
/** Whether or not to throw an error if the block is not in the canonical chain. Only allowed in conjunction with `blockHash`. */
|
|
48
|
+
requireCanonical?: boolean | undefined
|
|
37
49
|
}
|
|
38
50
|
)
|
|
39
51
|
|
|
40
52
|
export type GetProofReturnType = Proof
|
|
41
53
|
|
|
42
54
|
export type GetProofErrorType =
|
|
43
|
-
|
|
|
55
|
+
| FormatBlockParameterErrorType
|
|
44
56
|
| FormatProofErrorType
|
|
45
57
|
| RequestErrorType
|
|
46
58
|
| ErrorType
|
|
@@ -74,19 +86,23 @@ export async function getProof<chain extends Chain | undefined>(
|
|
|
74
86
|
client: Client<Transport, chain>,
|
|
75
87
|
{
|
|
76
88
|
address,
|
|
89
|
+
blockHash,
|
|
77
90
|
blockNumber,
|
|
78
|
-
blockTag
|
|
91
|
+
blockTag = 'latest',
|
|
92
|
+
requireCanonical,
|
|
79
93
|
storageKeys,
|
|
80
94
|
}: GetProofParameters,
|
|
81
95
|
): Promise<GetProofReturnType> {
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
96
|
+
const block = formatBlockParameter({
|
|
97
|
+
blockHash,
|
|
98
|
+
blockNumber,
|
|
99
|
+
blockTag,
|
|
100
|
+
requireCanonical,
|
|
101
|
+
})
|
|
86
102
|
|
|
87
103
|
const proof = await client.request({
|
|
88
104
|
method: 'eth_getProof',
|
|
89
|
-
params: [address, storageKeys,
|
|
105
|
+
params: [address, storageKeys, block],
|
|
90
106
|
})
|
|
91
107
|
|
|
92
108
|
return formatProof(proof)
|
|
@@ -5,12 +5,12 @@ import type { Transport } from '../../clients/transports/createTransport.js'
|
|
|
5
5
|
import type { ErrorType } from '../../errors/utils.js'
|
|
6
6
|
import type { BlockTag } from '../../types/block.js'
|
|
7
7
|
import type { Chain } from '../../types/chain.js'
|
|
8
|
-
import type { Hex } from '../../types/misc.js'
|
|
9
|
-
import type { RequestErrorType } from '../../utils/buildRequest.js'
|
|
8
|
+
import type { Hash, Hex } from '../../types/misc.js'
|
|
10
9
|
import {
|
|
11
|
-
type
|
|
12
|
-
|
|
13
|
-
} from '../../utils/
|
|
10
|
+
type FormatBlockParameterErrorType,
|
|
11
|
+
formatBlockParameter,
|
|
12
|
+
} from '../../utils/block/formatBlockParameter.js'
|
|
13
|
+
import type { RequestErrorType } from '../../utils/buildRequest.js'
|
|
14
14
|
|
|
15
15
|
export type GetStorageAtParameters = {
|
|
16
16
|
address: Address
|
|
@@ -19,17 +19,29 @@ export type GetStorageAtParameters = {
|
|
|
19
19
|
| {
|
|
20
20
|
blockNumber?: undefined
|
|
21
21
|
blockTag?: BlockTag | undefined
|
|
22
|
+
blockHash?: undefined
|
|
23
|
+
requireCanonical?: undefined
|
|
22
24
|
}
|
|
23
25
|
| {
|
|
24
26
|
blockNumber?: bigint | undefined
|
|
25
27
|
blockTag?: undefined
|
|
28
|
+
blockHash?: undefined
|
|
29
|
+
requireCanonical?: undefined
|
|
30
|
+
}
|
|
31
|
+
| {
|
|
32
|
+
blockNumber?: undefined
|
|
33
|
+
blockTag?: undefined
|
|
34
|
+
/** The storage value at a block specified by block hash. */
|
|
35
|
+
blockHash: Hash
|
|
36
|
+
/** Whether or not to throw an error if the block is not in the canonical chain. Only allowed in conjunction with `blockHash`. */
|
|
37
|
+
requireCanonical?: boolean | undefined
|
|
26
38
|
}
|
|
27
39
|
)
|
|
28
40
|
|
|
29
41
|
export type GetStorageAtReturnType = Hex | undefined
|
|
30
42
|
|
|
31
43
|
export type GetStorageAtErrorType =
|
|
32
|
-
|
|
|
44
|
+
| FormatBlockParameterErrorType
|
|
33
45
|
| RequestErrorType
|
|
34
46
|
| ErrorType
|
|
35
47
|
|
|
@@ -59,13 +71,24 @@ export type GetStorageAtErrorType =
|
|
|
59
71
|
*/
|
|
60
72
|
export async function getStorageAt<chain extends Chain | undefined>(
|
|
61
73
|
client: Client<Transport, chain>,
|
|
62
|
-
{
|
|
74
|
+
{
|
|
75
|
+
address,
|
|
76
|
+
blockHash,
|
|
77
|
+
blockNumber,
|
|
78
|
+
blockTag = 'latest',
|
|
79
|
+
requireCanonical,
|
|
80
|
+
slot,
|
|
81
|
+
}: GetStorageAtParameters,
|
|
63
82
|
): Promise<GetStorageAtReturnType> {
|
|
64
|
-
const
|
|
65
|
-
|
|
83
|
+
const block = formatBlockParameter({
|
|
84
|
+
blockHash,
|
|
85
|
+
blockNumber,
|
|
86
|
+
blockTag,
|
|
87
|
+
requireCanonical,
|
|
88
|
+
})
|
|
66
89
|
const data = await client.request({
|
|
67
90
|
method: 'eth_getStorageAt',
|
|
68
|
-
params: [address, slot,
|
|
91
|
+
params: [address, slot, block],
|
|
69
92
|
})
|
|
70
93
|
return data
|
|
71
94
|
}
|
|
@@ -6,15 +6,16 @@ import type { Transport } from '../../clients/transports/createTransport.js'
|
|
|
6
6
|
import type { ErrorType } from '../../errors/utils.js'
|
|
7
7
|
import type { BlockTag } from '../../types/block.js'
|
|
8
8
|
import type { Chain } from '../../types/chain.js'
|
|
9
|
+
import type { Hash } from '../../types/misc.js'
|
|
10
|
+
import {
|
|
11
|
+
type FormatBlockParameterErrorType,
|
|
12
|
+
formatBlockParameter,
|
|
13
|
+
} from '../../utils/block/formatBlockParameter.js'
|
|
9
14
|
import type { RequestErrorType } from '../../utils/buildRequest.js'
|
|
10
15
|
import {
|
|
11
16
|
type HexToNumberErrorType,
|
|
12
17
|
hexToNumber,
|
|
13
18
|
} from '../../utils/encoding/fromHex.js'
|
|
14
|
-
import {
|
|
15
|
-
type NumberToHexErrorType,
|
|
16
|
-
numberToHex,
|
|
17
|
-
} from '../../utils/encoding/toHex.js'
|
|
18
19
|
|
|
19
20
|
export type GetTransactionCountParameters = {
|
|
20
21
|
/** The account address. */
|
|
@@ -24,18 +25,30 @@ export type GetTransactionCountParameters = {
|
|
|
24
25
|
/** The block number. */
|
|
25
26
|
blockNumber?: bigint | undefined
|
|
26
27
|
blockTag?: undefined
|
|
28
|
+
blockHash?: undefined
|
|
29
|
+
requireCanonical?: undefined
|
|
27
30
|
}
|
|
28
31
|
| {
|
|
29
32
|
blockNumber?: undefined
|
|
30
33
|
/** The block tag. Defaults to 'latest'. */
|
|
31
34
|
blockTag?: BlockTag | undefined
|
|
35
|
+
blockHash?: undefined
|
|
36
|
+
requireCanonical?: undefined
|
|
37
|
+
}
|
|
38
|
+
| {
|
|
39
|
+
blockNumber?: undefined
|
|
40
|
+
blockTag?: undefined
|
|
41
|
+
/** The transaction count at a block specified by block hash. */
|
|
42
|
+
blockHash: Hash
|
|
43
|
+
/** Whether or not to throw an error if the block is not in the canonical chain. Only allowed in conjunction with `blockHash`. */
|
|
44
|
+
requireCanonical?: boolean | undefined
|
|
32
45
|
}
|
|
33
46
|
)
|
|
34
47
|
export type GetTransactionCountReturnType = number
|
|
35
48
|
|
|
36
49
|
export type GetTransactionCountErrorType =
|
|
37
50
|
| RequestErrorType
|
|
38
|
-
|
|
|
51
|
+
| FormatBlockParameterErrorType
|
|
39
52
|
| HexToNumberErrorType
|
|
40
53
|
| ErrorType
|
|
41
54
|
|
|
@@ -67,18 +80,27 @@ export async function getTransactionCount<
|
|
|
67
80
|
account extends Account | undefined,
|
|
68
81
|
>(
|
|
69
82
|
client: Client<Transport, chain, account>,
|
|
70
|
-
{
|
|
83
|
+
{
|
|
84
|
+
address,
|
|
85
|
+
blockHash,
|
|
86
|
+
blockNumber,
|
|
87
|
+
blockTag = 'latest',
|
|
88
|
+
requireCanonical,
|
|
89
|
+
}: GetTransactionCountParameters,
|
|
71
90
|
): Promise<GetTransactionCountReturnType> {
|
|
91
|
+
const block = formatBlockParameter({
|
|
92
|
+
blockHash,
|
|
93
|
+
blockNumber,
|
|
94
|
+
blockTag,
|
|
95
|
+
requireCanonical,
|
|
96
|
+
})
|
|
72
97
|
const count = await client.request(
|
|
73
98
|
{
|
|
74
99
|
method: 'eth_getTransactionCount',
|
|
75
|
-
params: [
|
|
76
|
-
address,
|
|
77
|
-
typeof blockNumber === 'bigint' ? numberToHex(blockNumber) : blockTag,
|
|
78
|
-
],
|
|
100
|
+
params: [address, block],
|
|
79
101
|
},
|
|
80
102
|
{
|
|
81
|
-
dedupe:
|
|
103
|
+
dedupe: typeof blockNumber === 'bigint' || blockHash !== undefined,
|
|
82
104
|
},
|
|
83
105
|
)
|
|
84
106
|
return hexToNumber(count)
|
|
@@ -45,9 +45,11 @@ export type MulticallParameters<
|
|
|
45
45
|
> = Pick<
|
|
46
46
|
CallParameters,
|
|
47
47
|
| 'authorizationList'
|
|
48
|
+
| 'blockHash'
|
|
48
49
|
| 'blockNumber'
|
|
49
50
|
| 'blockOverrides'
|
|
50
51
|
| 'blockTag'
|
|
52
|
+
| 'requireCanonical'
|
|
51
53
|
| 'stateOverride'
|
|
52
54
|
> & {
|
|
53
55
|
/** The account to use for the multicall. */
|
|
@@ -138,9 +140,11 @@ export async function multicall<
|
|
|
138
140
|
account,
|
|
139
141
|
authorizationList,
|
|
140
142
|
allowFailure = true,
|
|
143
|
+
blockHash,
|
|
141
144
|
blockNumber,
|
|
142
145
|
blockOverrides,
|
|
143
146
|
blockTag,
|
|
147
|
+
requireCanonical,
|
|
144
148
|
stateOverride,
|
|
145
149
|
} = parameters
|
|
146
150
|
const contracts = parameters.contracts as ContractFunctionParameters[]
|
|
@@ -237,10 +241,12 @@ export async function multicall<
|
|
|
237
241
|
account,
|
|
238
242
|
args: [calls],
|
|
239
243
|
authorizationList,
|
|
244
|
+
blockHash,
|
|
240
245
|
blockNumber,
|
|
241
246
|
blockOverrides,
|
|
242
247
|
blockTag,
|
|
243
248
|
functionName: 'aggregate3',
|
|
249
|
+
requireCanonical,
|
|
244
250
|
stateOverride,
|
|
245
251
|
}),
|
|
246
252
|
),
|
|
@@ -44,11 +44,13 @@ export type ReadContractParameters<
|
|
|
44
44
|
CallParameters,
|
|
45
45
|
| 'account'
|
|
46
46
|
| 'authorizationList'
|
|
47
|
+
| 'blockHash'
|
|
47
48
|
| 'blockNumber'
|
|
48
49
|
| 'blockOverrides'
|
|
49
50
|
| 'blockTag'
|
|
50
51
|
| 'factory'
|
|
51
52
|
| 'factoryData'
|
|
53
|
+
| 'requireCanonical'
|
|
52
54
|
| 'stateOverride'
|
|
53
55
|
>
|
|
54
56
|
> &
|
|
@@ -38,15 +38,7 @@ import type {
|
|
|
38
38
|
GetChainParameter,
|
|
39
39
|
} from '../../types/chain.js'
|
|
40
40
|
import type { GetTransactionRequestKzgParameter } from '../../types/kzg.js'
|
|
41
|
-
import type {
|
|
42
|
-
TransactionRequest,
|
|
43
|
-
TransactionRequestEIP1559,
|
|
44
|
-
TransactionRequestEIP2930,
|
|
45
|
-
TransactionRequestEIP4844,
|
|
46
|
-
TransactionRequestEIP7702,
|
|
47
|
-
TransactionRequestLegacy,
|
|
48
|
-
TransactionSerializable,
|
|
49
|
-
} from '../../types/transaction.js'
|
|
41
|
+
import type { TransactionSerializable } from '../../types/transaction.js'
|
|
50
42
|
import type {
|
|
51
43
|
ExactPartial,
|
|
52
44
|
IsNever,
|
|
@@ -106,6 +98,12 @@ type ParameterTypeToParameters<
|
|
|
106
98
|
> = parameterType extends 'fees'
|
|
107
99
|
? 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'gasPrice'
|
|
108
100
|
: parameterType
|
|
101
|
+
type ExtractTransactionRequest<transactionRequest, transactionType> =
|
|
102
|
+
transactionRequest extends { type?: infer type | undefined }
|
|
103
|
+
? Extract<transactionType, type> extends never
|
|
104
|
+
? never
|
|
105
|
+
: transactionRequest
|
|
106
|
+
: never
|
|
109
107
|
|
|
110
108
|
export type PrepareTransactionRequestRequest<
|
|
111
109
|
chain extends Chain | undefined = Chain | undefined,
|
|
@@ -166,12 +164,10 @@ export type PrepareTransactionRequestReturnType<
|
|
|
166
164
|
: GetTransactionType<request> extends 'legacy'
|
|
167
165
|
? unknown
|
|
168
166
|
: GetTransactionType<request>,
|
|
169
|
-
_transactionRequest
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
| (_transactionType extends 'eip4844' ? TransactionRequestEIP4844 : never)
|
|
174
|
-
| (_transactionType extends 'eip7702' ? TransactionRequestEIP7702 : never),
|
|
167
|
+
_transactionRequest = ExtractTransactionRequest<
|
|
168
|
+
UnionOmit<FormattedTransactionRequest<_derivedChain>, 'from'>,
|
|
169
|
+
_transactionType
|
|
170
|
+
>,
|
|
175
171
|
> = Prettify<
|
|
176
172
|
UnionRequiredBy<
|
|
177
173
|
Extract<
|
|
@@ -190,6 +190,7 @@ export async function sendTransaction<
|
|
|
190
190
|
docsPath: '/docs/actions/wallet/sendTransaction',
|
|
191
191
|
})
|
|
192
192
|
const account = account_ ? parseAccount(account_) : null
|
|
193
|
+
let nonceManagerParameters: { address: Address; chainId: number } | undefined
|
|
193
194
|
|
|
194
195
|
try {
|
|
195
196
|
assertRequest(parameters as AssertRequestParameters)
|
|
@@ -309,6 +310,16 @@ export async function sendTransaction<
|
|
|
309
310
|
}
|
|
310
311
|
|
|
311
312
|
if (account?.type === 'local') {
|
|
313
|
+
if (account.nonceManager && typeof nonce === 'undefined') {
|
|
314
|
+
const requestChainId = (rest as unknown as { chainId?: number }).chainId
|
|
315
|
+
const chainId = await (async () => {
|
|
316
|
+
if (typeof requestChainId === 'number') return requestChainId
|
|
317
|
+
if (chain) return chain.id
|
|
318
|
+
return getAction(client, getChainId, 'getChainId')({})
|
|
319
|
+
})()
|
|
320
|
+
nonceManagerParameters = { address: account.address, chainId }
|
|
321
|
+
}
|
|
322
|
+
|
|
312
323
|
// Prepare the request for signing (assign appropriate fees, etc.)
|
|
313
324
|
const request = await getAction(
|
|
314
325
|
client,
|
|
@@ -366,6 +377,8 @@ export async function sendTransaction<
|
|
|
366
377
|
})
|
|
367
378
|
} catch (err) {
|
|
368
379
|
if (err instanceof AccountTypeNotSupportedError) throw err
|
|
380
|
+
if (nonceManagerParameters)
|
|
381
|
+
account?.nonceManager?.reset(nonceManagerParameters)
|
|
369
382
|
throw getTransactionError(err as BaseError, {
|
|
370
383
|
...parameters,
|
|
371
384
|
account,
|
|
@@ -213,6 +213,7 @@ export async function sendTransactionSync<
|
|
|
213
213
|
docsPath: '/docs/actions/wallet/sendTransactionSync',
|
|
214
214
|
})
|
|
215
215
|
const account = account_ ? parseAccount(account_) : null
|
|
216
|
+
let nonceManagerParameters: { address: Address; chainId: number } | undefined
|
|
216
217
|
|
|
217
218
|
try {
|
|
218
219
|
assertRequest(parameters as AssertRequestParameters)
|
|
@@ -348,6 +349,16 @@ export async function sendTransactionSync<
|
|
|
348
349
|
}
|
|
349
350
|
|
|
350
351
|
if (account?.type === 'local') {
|
|
352
|
+
if (account.nonceManager && typeof nonce === 'undefined') {
|
|
353
|
+
const requestChainId = (rest as unknown as { chainId?: number }).chainId
|
|
354
|
+
const chainId = await (async () => {
|
|
355
|
+
if (typeof requestChainId === 'number') return requestChainId
|
|
356
|
+
if (chain) return chain.id
|
|
357
|
+
return getAction(client, getChainId, 'getChainId')({})
|
|
358
|
+
})()
|
|
359
|
+
nonceManagerParameters = { address: account.address, chainId }
|
|
360
|
+
}
|
|
361
|
+
|
|
351
362
|
// Prepare the request for signing (assign appropriate fees, etc.)
|
|
352
363
|
const request = await getAction(
|
|
353
364
|
client,
|
|
@@ -407,6 +418,11 @@ export async function sendTransactionSync<
|
|
|
407
418
|
})
|
|
408
419
|
} catch (err) {
|
|
409
420
|
if (err instanceof AccountTypeNotSupportedError) throw err
|
|
421
|
+
if (
|
|
422
|
+
nonceManagerParameters &&
|
|
423
|
+
!(err instanceof TransactionReceiptRevertedError)
|
|
424
|
+
)
|
|
425
|
+
account?.nonceManager?.reset(nonceManagerParameters)
|
|
410
426
|
throw getTransactionError(err as BaseError, {
|
|
411
427
|
...parameters,
|
|
412
428
|
account,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
2
|
+
|
|
3
|
+
export const mizuhikiTestnetAwaji = /*#__PURE__*/ defineChain({
|
|
4
|
+
id: 6497,
|
|
5
|
+
name: 'MIZUHIKI Testnet Awaji',
|
|
6
|
+
nativeCurrency: { name: 'MIZU', symbol: 'MIZU', decimals: 18 },
|
|
7
|
+
rpcUrls: {
|
|
8
|
+
default: {
|
|
9
|
+
http: ['https://rpc.awaji.mizuhiki.io'],
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
blockExplorers: {
|
|
13
|
+
default: {
|
|
14
|
+
name: 'Blockscout',
|
|
15
|
+
url: 'https://awaji.blockscout.com',
|
|
16
|
+
apiUrl: 'https://awaji.blockscout.com/api',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
contracts: {
|
|
20
|
+
multicall3: {
|
|
21
|
+
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
22
|
+
blockCreated: 0,
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
testnet: true,
|
|
26
|
+
})
|
|
@@ -14,7 +14,7 @@ export const morphHolesky = /*#__PURE__*/ defineChain({
|
|
|
14
14
|
default: {
|
|
15
15
|
name: 'Morph Holesky Explorer',
|
|
16
16
|
url: 'https://explorer-holesky.morphl2.io',
|
|
17
|
-
apiUrl: 'https://explorer-api-holesky.morphl2.io/api
|
|
17
|
+
apiUrl: 'https://explorer-api-holesky.morphl2.io/api',
|
|
18
18
|
},
|
|
19
19
|
},
|
|
20
20
|
testnet: true,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
2
|
+
|
|
3
|
+
export const sentrix = /*#__PURE__*/ defineChain({
|
|
4
|
+
id: 7119,
|
|
5
|
+
name: 'Sentrix Chain',
|
|
6
|
+
nativeCurrency: { name: 'Sentrix', symbol: 'SRX', decimals: 18 },
|
|
7
|
+
blockTime: 1_000,
|
|
8
|
+
rpcUrls: {
|
|
9
|
+
default: {
|
|
10
|
+
http: ['https://rpc.sentrixchain.com'],
|
|
11
|
+
webSocket: ['wss://rpc.sentrixchain.com/ws'],
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
blockExplorers: {
|
|
15
|
+
default: {
|
|
16
|
+
name: 'SentrixScan',
|
|
17
|
+
url: 'https://scan.sentrixchain.com',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
contracts: {
|
|
21
|
+
multicall3: {
|
|
22
|
+
address: '0xFd4b34b5763f54a580a0d9f7997A2A993ef9ceE9',
|
|
23
|
+
blockCreated: 717_078,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
})
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineChain } from '../../utils/chain/defineChain.js'
|
|
2
|
+
|
|
3
|
+
export const sentrixTestnet = /*#__PURE__*/ defineChain({
|
|
4
|
+
id: 7120,
|
|
5
|
+
name: 'Sentrix Testnet',
|
|
6
|
+
nativeCurrency: { name: 'Sentrix', symbol: 'SRX', decimals: 18 },
|
|
7
|
+
blockTime: 1_000,
|
|
8
|
+
rpcUrls: {
|
|
9
|
+
default: {
|
|
10
|
+
http: ['https://testnet-rpc.sentrixchain.com'],
|
|
11
|
+
webSocket: ['wss://testnet-rpc.sentrixchain.com/ws'],
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
blockExplorers: {
|
|
15
|
+
default: {
|
|
16
|
+
name: 'SentrixScan Testnet',
|
|
17
|
+
url: 'https://scan-testnet.sentrixchain.com',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
contracts: {
|
|
21
|
+
multicall3: {
|
|
22
|
+
address: '0x7900826De548425c6BE56caEbD4760AB0155Cd54',
|
|
23
|
+
blockCreated: 723_191,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
testnet: true,
|
|
27
|
+
})
|
package/chains/index.ts
CHANGED
|
@@ -415,6 +415,7 @@ export { mezoTestnet } from './definitions/mezoTestnet.js'
|
|
|
415
415
|
export { mint } from './definitions/mint.js'
|
|
416
416
|
export { mintSepoliaTestnet } from './definitions/mintSepoliaTestnet.js'
|
|
417
417
|
export { mitosisTestnet } from './definitions/mitosisTestnet.js'
|
|
418
|
+
export { mizuhikiTestnetAwaji } from './definitions/mizuhikiTestnetAwaji.js'
|
|
418
419
|
export { mode } from './definitions/mode.js'
|
|
419
420
|
export { modeTestnet } from './definitions/modeTestnet.js'
|
|
420
421
|
export { monad } from './definitions/monad.js'
|
|
@@ -539,6 +540,8 @@ export { scrollSepolia } from './definitions/scrollSepolia.js'
|
|
|
539
540
|
export { sei } from './definitions/sei.js'
|
|
540
541
|
export { seismicDevnet } from './definitions/seismicDevnet.js'
|
|
541
542
|
export { seiTestnet } from './definitions/seiTestnet.js'
|
|
543
|
+
export { sentrix } from './definitions/sentrix.js'
|
|
544
|
+
export { sentrixTestnet } from './definitions/sentrixTestnet.js'
|
|
542
545
|
export { sepolia } from './definitions/sepolia.js'
|
|
543
546
|
export { shape } from './definitions/shape.js'
|
|
544
547
|
export { shapeSepolia } from './definitions/shapeSepolia.js'
|
|
@@ -763,6 +766,28 @@ export { zoraTestnet } from './definitions/zoraTestnet.js'
|
|
|
763
766
|
//////////////////////////////////////////////////////////////////////////////////////
|
|
764
767
|
// Required type exports to prevent TypeScript error "TS2742".
|
|
765
768
|
|
|
769
|
+
export type {
|
|
770
|
+
/** @deprecated */
|
|
771
|
+
Signed as KeyAuthorizationSigned,
|
|
772
|
+
} from 'ox/tempo/KeyAuthorization'
|
|
773
|
+
export type {
|
|
774
|
+
/** @deprecated */
|
|
775
|
+
SignatureEnvelope,
|
|
776
|
+
/** @deprecated */
|
|
777
|
+
SignatureEnvelopeRpc,
|
|
778
|
+
} from 'ox/tempo/SignatureEnvelope'
|
|
779
|
+
export type {
|
|
780
|
+
/** @deprecated */
|
|
781
|
+
Address as TempoAddress,
|
|
782
|
+
} from 'ox/tempo/TempoAddress'
|
|
783
|
+
export type {
|
|
784
|
+
/** @deprecated */
|
|
785
|
+
TokenIdOrAddress,
|
|
786
|
+
} from 'ox/tempo/TokenId'
|
|
787
|
+
export type {
|
|
788
|
+
/** @deprecated */
|
|
789
|
+
Call as TxEnvelopeTempoCall,
|
|
790
|
+
} from 'ox/tempo/TxEnvelopeTempo'
|
|
766
791
|
export type {
|
|
767
792
|
assertTransactionCIP42 as assertTransactionCIP42Celo,
|
|
768
793
|
assertTransactionCIP64 as assertTransactionCIP64Celo,
|
|
@@ -820,6 +845,34 @@ export type {
|
|
|
820
845
|
TransactionSerializableDeposit,
|
|
821
846
|
TransactionSerializedDeposit,
|
|
822
847
|
} from '../op-stack/types/transaction.js'
|
|
848
|
+
export type {
|
|
849
|
+
/** @deprecated */
|
|
850
|
+
Transaction as z_Transaction,
|
|
851
|
+
/** @deprecated */
|
|
852
|
+
TransactionReceipt as z_TransactionReceipt,
|
|
853
|
+
/** @deprecated */
|
|
854
|
+
TransactionReceiptRpc as z_TransactionReceiptRpc,
|
|
855
|
+
/** @deprecated */
|
|
856
|
+
TransactionRequest as z_TransactionRequest,
|
|
857
|
+
/** @deprecated */
|
|
858
|
+
TransactionRequestRpc as z_TransactionRequestRpc,
|
|
859
|
+
/** @deprecated */
|
|
860
|
+
TransactionRequestTempo as z_TransactionRequestTempo,
|
|
861
|
+
/** @deprecated */
|
|
862
|
+
TransactionRpc as z_TransactionRpc,
|
|
863
|
+
/** @deprecated */
|
|
864
|
+
TransactionSerializable as z_TransactionSerializable,
|
|
865
|
+
/** @deprecated */
|
|
866
|
+
TransactionSerializableTempo as z_TransactionSerializableTempo,
|
|
867
|
+
/** @deprecated */
|
|
868
|
+
TransactionSerialized as z_TransactionSerialized,
|
|
869
|
+
/** @deprecated */
|
|
870
|
+
TransactionSerializedTempo as z_TransactionSerializedTempo,
|
|
871
|
+
/** @deprecated */
|
|
872
|
+
TransactionTempo as z_TransactionTempo,
|
|
873
|
+
/** @deprecated */
|
|
874
|
+
TransactionType as z_TransactionType,
|
|
875
|
+
} from '../tempo/Transaction.js'
|
|
823
876
|
export type {
|
|
824
877
|
Assign,
|
|
825
878
|
Omit,
|