Send Transaction

Request

Sends coin.

Parameters

  • chain - mainnet testnet devnet localnet

  • to - Account to send to

  • amount - Amount in the smallest unit (mist)

curl --location 'localhost:9680/sui/sendTransaction' \
--header 'Content-Type: application/json' \
--data '{
    "chain": "testnet",
    "to": "0x78687cc53c07484da514ca3d024d06274c9d079def21ece23a553a17397014a6",
    "amount": "12345678"
}'

Response

The transaction hash

f7FWpm3vJd8XHu3iRZQ4BF1uuRP6Y7ZAkAvJ8XnUiV3

Last updated