Skip to content

Commit

Permalink
remove on /execute
Browse files Browse the repository at this point in the history
  • Loading branch information
saminacodes authored Dec 19, 2024
1 parent 7674d13 commit 52aa5bf
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions apps/portal/src/app/nebula/api-reference/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 52aa5bf

Please sign in to comment.