{ "opencollection": "1.0.0", "info": { "name": "Sui JSON-RPC Coin Query API Transaction Builder API API", "version": "1.74.0" }, "items": [ { "info": { "name": "Transaction Builder API", "type": "folder" }, "items": [ { "info": { "name": "unsafe_batchTransaction", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_batchTransaction", "body": { "type": "json", "data": "{}" } }, "docs": "Create an unsigned batched transaction." }, { "info": { "name": "unsafe_mergeCoins", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_mergeCoins", "body": { "type": "json", "data": "{}" } }, "docs": "Create an unsigned transaction to merge multiple coins into one coin." }, { "info": { "name": "unsafe_moveCall", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_moveCall", "body": { "type": "json", "data": "{}" } }, "docs": "Create an unsigned transaction to execute a Move call on the network, by calling the specified function in the module of a given package." }, { "info": { "name": "unsafe_pay", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_pay", "body": { "type": "json", "data": "{}" } }, "docs": "Send `Coin` to a list of addresses, where `T` can be any coin type, following a list of amounts, The object specified in the `gas` field will be used to pay the gas fee for the transaction. The gas object can not appear in `input_coins`. If the gas object is not specified, the RPC server will auto-select one." }, { "info": { "name": "unsafe_payAllSui", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_payAllSui", "body": { "type": "json", "data": "{}" } }, "docs": "Send all SUI coins to one recipient. This is for SUI coin only and does not require a separate gas coin object. Specifically, what pay_all_sui does are: 1. accumulate all SUI from input coins and deposit all SUI to the first input coin 2. transfer the updated first coin to the recipient and also use this first coin as gas coin object. 3. the balance of the first input coin after tx is sum(input_coins) - actual_gas_cost. 4. all other input coins other than the first are deleted." }, { "info": { "name": "unsafe_paySui", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_paySui", "body": { "type": "json", "data": "{}" } }, "docs": "Send SUI coins to a list of addresses, following a list of amounts. This is for SUI coin only and does not require a separate gas coin object. Specifically, what pay_sui does are: 1. debit each input_coin to create new coin following the order of amounts and assign it to the corresponding recipient. 2. accumulate all residual SUI from input coins left and deposit all SUI to the first input coin, then use the first input coin as the gas coin object. 3. the balance of the first input coin after tx" }, { "info": { "name": "unsafe_publish", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_publish", "body": { "type": "json", "data": "{}" } }, "docs": "Create an unsigned transaction to publish a Move package." }, { "info": { "name": "unsafe_requestAddStake", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_requestAddStake", "body": { "type": "json", "data": "{}" } }, "docs": "Add stake to a validator's staking pool using multiple coins and amount." }, { "info": { "name": "unsafe_requestWithdrawStake", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_requestWithdrawStake", "body": { "type": "json", "data": "{}" } }, "docs": "Withdraw stake from a validator's staking pool." }, { "info": { "name": "unsafe_splitCoin", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_splitCoin", "body": { "type": "json", "data": "{}" } }, "docs": "Create an unsigned transaction to split a coin object into multiple coins." }, { "info": { "name": "unsafe_splitCoinEqual", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_splitCoinEqual", "body": { "type": "json", "data": "{}" } }, "docs": "Create an unsigned transaction to split a coin object into multiple equal-size coins." }, { "info": { "name": "unsafe_transferObject", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_transferObject", "body": { "type": "json", "data": "{}" } }, "docs": "Create an unsigned transaction to transfer an object from one address to another. The object's type must allow public transfers" }, { "info": { "name": "unsafe_transferSui", "type": "http" }, "http": { "method": "POST", "url": "https://fullnode.mainnet.sui.io:443/#unsafe_transferSui", "body": { "type": "json", "data": "{}" } }, "docs": "Create an unsigned transaction to send SUI coin object to a Sui address. The SUI object is also used as the gas object." } ] } ], "bundled": true }