✏️
go-conflux-sdk
  • README
  • Quickstart
  • Getting Started
    • Run a Node locally
    • Interacting with a Node
    • Deploy and Interact with Smart Contracts
    • Subscription
  • Smart Contracts
    • Smart Contract Overview
    • Getting Started with Solidity
    • Compiling Solidity source code
    • Interacting with Smart Contracts
    • Application Binary Interface
    • Contracts Supported
  • Transactions
    • Conflux Transactions
    • Obtaining CFX
    • Gas & Storage Collateral
    • Account Manager
    • Transfer CFX
    • Transaction Nonce
    • Batch Call snd Send Transactions
  • Other
    • Call/BatchCall RPC Hook
    • Conflux Addreess
  • Conflux-ABIGEN
  • ChangeLog
  • References
Powered by GitBook
On this page

Was this helpful?

  1. Transactions

Transfer CFX

The sending of CFX between two parties requires a minimal number of details of the transaction object:

to

the destination wallet address

value

the amount of CFX you wish to send to the destination address

utx, _ := client.CreateUnsignedTransaction(<from>,<to>,<value>,nil)
txhash, err := client.SendTransaction(utx)

wait transaction be executed

receipt, err := client.WaitForTransationReceipt(txhash)

OutcomeStatus of transaction receipt is 0 means transaction successfully

PreviousAccount ManagerNextTransaction Nonce

Last updated 3 years ago

Was this helpful?