Sui
sui_executeTransactionBlock150 크레딧
Execute a signed transaction block
매개변수
| 이름 | 타입 | 설명 |
|---|---|---|
| tx_bytes | string | BCS-serialized TransactionData, base64-encoded. |
| signatures | string[] | Serialized signatures (flag || signature || public key), base64-encoded. |
| options | object | Which parts of the response to return. Boolean flags: showInput, showRawInput, showEffects, showEvents, showObjectChanges, showBalanceChanges, showRawEffects. (선택) |
| request_type | string | WaitForEffectsCert (the default) or WaitForLocalExecution. Deprecated: to be ignored in future versions. (선택) |
반환값
타입
object
SuiTransactionBlockResponse: digest plus the fields requested in options. Changes the chain state.
코드 예제
curl https://holy-burned-sky-sui-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "sui_executeTransactionBlock",
"params": [
"AAACACBfmzYh0HoOxS5FQyGBCQKCVrQsqz1b2yQPzaRNf5fNJwEAAAAAAAAAAA==",
[
"AIYbBfmzYh0HoOxS5FQyGBCQKCVrQsqz1b2yQPzaRNf5fNJwEAAAAAAAAAAA=="
],
{
"showEffects": true,
"showEvents": true
},
"WaitForLocalExecution"
]
}'