From 52aa5bf002e49bdca1b3a0f876c1004d4b3caa3a Mon Sep 17 00:00:00 2001 From: samina <57885104+saminacodes@users.noreply.github.com> Date: Thu, 19 Dec 2024 15:26:25 -0700 Subject: [PATCH] remove on /execute --- .../portal/src/app/nebula/api-reference/page.mdx | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/apps/portal/src/app/nebula/api-reference/page.mdx b/apps/portal/src/app/nebula/api-reference/page.mdx index 7e1c872ae29..0e0d2f409c2 100644 --- a/apps/portal/src/app/nebula/api-reference/page.mdx +++ b/apps/portal/src/app/nebula/api-reference/page.mdx @@ -428,18 +428,18 @@ Execute specific blockchain commands or actions. This endpoint is designed for d **Example Response:** ```json { - "message": "The transaction is to transfer 0.0001 ETH to the address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045. The transaction simulation indicates that it will most likely succeed. \n\nPlease go ahead and sign and confirm the transaction.", + "message": "The transaction to transfer 0.0001 ETH to the address resolved from the ENS name `vitalik.eth` (which is `0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045`) is set up successfully. The simulation indicates that the transaction is likely to succeed.\n\nPlease proceed by signing and confirming the transaction.", "actions": [ { - "session_id": "d8ca7326-fea4-4bcc-9bb7-9c84dd138379", - "request_id": "40404a54-be4a-4540-8c97-d74f8c454d0e", + "session_id": "437a0df7-d512-4ef4-95b5-6168ccbbe097", + "request_id": "c2b51ed6-da79-49ac-b411-206a42059509", "type": "sign_transaction", "source": "executor", - "data": "{\"maxPriorityFeePerGas\": \"0x6a392bd\", \"maxFeePerGas\": \"0x546126ce9\", \"chainId\": 11155111, \"from\": \"0xc3F2b2a12Eba0f5989cD75B2964E31D56603a2cE\", \"to\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\", \"data\": \"0x\", \"value\": \"0x5af3107a4000\", \"gas\": \"0x5208\"}" + "data": "{\"chainId\": 11155111, \"to\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\", \"data\": \"0x\", \"value\": \"0x5af3107a4000\"}" } ], - "session_id": "d8ca7326-fea4-4bcc-9bb7-9c84dd138379", - "request_id": "40404a54-be4a-4540-8c97-d74f8c454d0e" + "session_id": "437a0df7-d512-4ef4-95b5-6168ccbbe097", + "request_id": "c2b51ed6-da79-49ac-b411-206a42059509" } ``` @@ -467,14 +467,10 @@ curl -X POST https://nebula-api.thirdweb.com/execute \ - `type`: The type of action (e.g., "sign_transaction") - `source`: Origin of the action - `data`: Transaction data in hexadecimal format including: - - `maxPriorityFeePerGas`: Maximum priority fee per gas in hex - - `maxFeePerGas`: Maximum fee per gas in hex - `chainId`: Network identifier - - `from`: Sender's address - `to`: Recipient's address - `data`: Transaction data - `value`: Amount to send in hex - - `gas`: Gas limit in hex - `session_id`: Session identifier for this execution - `request_id`: Unique identifier for this request