Create an unsigned transaction to transfer an object from one address to another. The object's type must allow public transfers

interface UnsafeTransferObjectParams {
    gas?: null | string;
    gasBudget: string;
    objectId: string;
    recipient: string;
    signer: string;
}

Properties

gas?: null | string

gas object to be used in this transaction, node will pick one from the signer's possession if not provided

gasBudget: string

the gas budget, the transaction will fail if the gas cost exceed the budget

objectId: string

the ID of the object to be transferred

recipient: string

the recipient's Sui address

signer: string

the transaction signer's Sui address