sui namespace.
Methods
executeTransactionBlock
Executes a signed transaction and waits for results based on the request type.BCS serialized transaction data bytes without its type tag, as base64-encoded string
List of signatures (
flag || signature || pubkey bytes) as base64-encoded strings. Each signature is committed to the intent message of the transaction dataOptions for specifying the content to be returned
The request type, derived from
SuiTransactionBlockResponseOptions if NoneThe transaction execution result
devInspectTransactionBlock
Runs the transaction in dev-inspect mode. This allows nearly any transaction (or Move call) with any arguments. Detailed results are provided, including both the transaction effects and any return values.Dev inspect does not validate ownership, visibility, or other constraints. Use this for debugging and testing only.
The sender address
BCS encoded TransactionKind (as opposed to TransactionData, which includes gasBudget and gasPrice)
Gas price to use. Gas is not charged, but gas usage is still calculated. Defaults to reference gas price
The epoch to perform the call. Will be set from the system state object if not provided
Additional arguments including gas_budget, gas_objects, gas_sponsor and skip_checks
The inspection results, including return values and effects
dryRunTransactionBlock
Returns transaction execution effects including the gas cost summary, without committing the effects to the chain.Unlike dev-inspect, dry run validates all transaction constraints (ownership, signatures, etc.) as if executing on-chain.
BCS serialized transaction data bytes as base64-encoded string
The dry run results
Dev Inspect vs Dry Run
| Feature | devInspectTransactionBlock | dryRunTransactionBlock |
|---|---|---|
| Validates ownership | No | Yes |
| Validates signatures | No | Yes |
| Checks visibility | No | Yes |
| Allows any inputs | Yes | No |
| Gas charged | No | No |
| Use case | Debugging, testing | Pre-flight validation |