PreciosGitHubPanel

Sui

sui_executeTransactionBlock150 créditos

Execute a signed transaction block

Red: sui

Parámetros

NombreTipoDescripción
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. (opcional)
request_typestringWaitForEffectsCert (the default) or WaitForLocalExecution. Deprecated: to be ignored in future versions. (opcional)

Valor devuelto

Tipo

object

SuiTransactionBlockResponse: digest plus the fields requested in options. Changes the chain state.

Ejemplos de código

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"
  ]
}'