Skip to content

Commit ac9c348

Browse files
authored
Update page.mdx
Signed-off-by: samina <[email protected]>
1 parent fd4664a commit ac9c348

File tree

1 file changed

+1
-7
lines changed
  • apps/portal/src/app/nebula/api-reference

1 file changed

+1
-7
lines changed

apps/portal/src/app/nebula/api-reference/page.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ data: {
151151
"request_id": "9efc7f6a-8576-4d9c-8603-f6c72aa72164",
152152
"type": "sign_transaction",
153153
"source": "executor",
154-
"data": "{\"maxPriorityFeePerGas\": 13620452, \"maxFeePerGas\": 53197870998, \"chainId\": 11155111, \"from\": \"0xc3F2b2a12Eba0f5989cD75B2964E31D56603a2cE\", \"to\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\", \"data\": \"0x\", \"value\": 100000000000000, \"gas\": 0}"
154+
"data": "{\"chainId\": 11155111, \"to\": \"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\", \"data\": \"0x\", \"value\": \"0x5af3107a4000\"}"
155155
}
156156

157157
event: delta
@@ -311,14 +311,10 @@ Chat actions represent blockchain transactions or operations that Nebula has pre
311311
- `type`: The type of action (e.g., "sign_transaction")
312312
- `source`: Origin of the action (e.g., "executor")
313313
- `data`: Transaction parameters including:
314-
- `maxPriorityFeePerGas`: Maximum priority fee per gas unit
315-
- `maxFeePerGas`: Maximum total fee per gas unit
316314
- `chainId`: Network identifier (e.g., 11155111 for Sepolia)
317-
- `from`: Sender's address
318315
- `to`: Recipient's address
319316
- `data`: Transaction data (if any)
320317
- `value`: Amount to send in wei
321-
- `gas`: Gas limit (0 for automatic estimation)
322318

323319
When handling actions:
324320
1. Parse the `message` field for human-readable transaction details
@@ -362,8 +358,6 @@ async function handleNebulaResponse(response) {
362358
to: txData.to,
363359
data: txData.data,
364360
value: BigInt(txData.value),
365-
maxFeePerGas: BigInt(txData.maxFeePerGas),
366-
maxPriorityFeePerGas: BigInt(txData.maxPriorityFeePerGas),
367361
chain: txData.chainId,
368362
client
369363
});

0 commit comments

Comments
 (0)