Skip to main content

Parameters

chainId
string
default:"sui"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"unsafe_transferObject"
required
JSON-RPC method name.
params
object
required
Create an unsigned transaction to transfer an object to a recipient. The object must allow public transfers.Positional parameters for unsafe_transferObject:
  • params[0]: The signer’s Sui address.
  • params[1]: The ID of the object to be transferred.
  • params[2]: Optional gas object ID. If not specified, the node picks one automatically.
  • params[3]: The gas budget for the transaction.
  • params[4]: The recipient’s Sui address.

Returns

result
object
Unsigned transaction bytes and metadata for the object transfer.
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=sui \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "unsafe_transferObject",
    "params": [
      "0xaabbccddeeff0011223344556677889900aabbccddeeff001122334455667788",
      "0xobjectid123456789abcdef",
      "0xgasobject998877",
      "50000",
      "0xrecipient00112233445566778899aabbccddeeff0011223344556677889900"
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {}
}