Alchemy Logo

unsafe_transferSui

POST
/{apiKey}

Transfers SUI to a recipient using a single coin object, which is also used to pay gas. Internally performs a split and transfer using the same coin.

Path Parameters

apiKeystringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

signerstringrequired

The transaction signer's Sui address.

sui_object_idstringrequired

The SUI coin object to use in this transaction.

gas_budgetstringrequired

The gas budget, the transaction will fail if exceeded.

recipientstringrequired

The address receiving the SUI.

amountstringrequired

The amount of SUI to transfer.

Responses

200

Transaction bytes and related input object metadata.

Was this page helpful?