@coinbase/cdp-sdk 1.1.1 → 1.1.2
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/client/evm/evm.js +4 -3
- package/package.json +1 -1
package/dist/client/evm/evm.js
CHANGED
|
@@ -191,14 +191,15 @@ class EvmClient {
|
|
|
191
191
|
async getUserOperation(options) {
|
|
192
192
|
const userOp = await openapi_client_1.CdpOpenApiClient.getUserOperation(options.smartAccount.address, options.userOpHash);
|
|
193
193
|
return {
|
|
194
|
-
network: userOp.network,
|
|
195
|
-
userOpHash: userOp.userOpHash,
|
|
196
|
-
status: userOp.status,
|
|
197
194
|
calls: userOp.calls.map(call => ({
|
|
198
195
|
to: call.to,
|
|
199
196
|
value: BigInt(call.value),
|
|
200
197
|
data: call.data,
|
|
201
198
|
})),
|
|
199
|
+
network: userOp.network,
|
|
200
|
+
status: userOp.status,
|
|
201
|
+
transactionHash: userOp.transactionHash,
|
|
202
|
+
userOpHash: userOp.userOpHash,
|
|
202
203
|
};
|
|
203
204
|
}
|
|
204
205
|
/**
|