Skip to content
Alchemy Logo

unsafe_moveCall

POST
/{apiKey}

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.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringrequired

The transaction signer's Sui address.

stringrequired

The Move package ID containing the target module.

stringrequired

The name of the Move module.

stringrequired

The name of the Move function to call.

string[]required

Type arguments passed to the Move function.

string[]required

Function arguments in SuiJson format.

stringoptional

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

stringrequired

Maximum gas budget for the transaction.

enumoptional

Whether this is a normal execution or a dev inspect. Defaults to "Commit".

Allowed values:

Responses

200

An unsigned transaction block containing the Move call.

Was this page helpful?