unsafe_moveCall

Constructs a BCS-encoded transaction block that performs a Move call to a specific function in a Move module. This unsigned transaction must be signed and submitted separately.

⚠ This endpoint is only available with Blast access.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
signerstringRequired
The transaction signer's Sui address.
package_object_idstringRequired
The Move package ID containing the target module.
modulestringRequired
The name of the Move module.
functionstringRequired
The name of the Move function to call.
type_argumentslist of stringsRequired
Type arguments passed to the Move function.
argumentslist of stringsRequired
Function arguments in SuiJson format.
gas_budgetstringRequired
Maximum gas budget for the transaction.
gasstringOptional

Gas object to be used. Will be auto-selected if not provided.

execution_modeenumOptional
Whether this is a normal execution or a dev inspect. Defaults to "Commit".
Allowed values:

Response

An unsigned transaction block containing the Move call.
gaslist of objects or null

The gas object(s) used.

inputObjectslist of objects or null
Objects involved in the transaction.
txBytesstring or null

Base64-encoded BCS transaction data.