ドキュメント
料金GitHubダッシュボード

Sui

sui_executeTransactionBlock150クレジット

Execute a signed transaction block

ネットワーク: sui

パラメータ

名前型説明
tx_bytesstringBCS-serialized TransactionData, base64-encoded.
signaturesstring[]Serialized signatures (flag || signature || public key), base64-encoded.
optionsobjectWhich parts of the response to return. Boolean flags: showInput, showRawInput, showEffects, showEvents, showObjectChanges, showBalanceChanges, showRawEffects. (任意)
request_typestringWaitForEffectsCert (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"
  ]
}'