Execute SendCoin/Contract

This document describes how to 'Send Coins' and 'Execute Smart Contract'.

Steps

  1. Check Transaction Result

Search Gas Fee

Retreives the current network fee (gas fee) information for the network (blockchain) corresponding to the ChainID.

val gas = fncyWallet.getGasPrice(
    chainId = 3
)

See Also

getGasPrice

FncyGasPrice

Search Ticket Information

Before creating a ticket, it checks for transferability, nonce, gasLimit, etc.

There are three types of ticket transfers.

  • AssetTransfer : CoinTransfer

  • SmartContract : TokenTransfer & Contract Execution

  • WalletConnect : Used when connecting to WalletConnect

See Also

estimateTicket

FncyTicket

TicketType

Transfer Coin

Transfer Token(Contract Execution)

WalletConnect

Create Ticket

Registers ticket (transaction information) in the server to send to the network, and reterieves the UUID information for that ticket.

See Also

makeTicket

FncyTicketResult

Transfer Coin

Transfer Token(Contract Execution)

WalletConnect

Check Ticket Information

Use TicketUuid to get the ticket information corresponding to that Uuid.

See Also

getTicketInfo

FncyTicket

Transfer Ticket

circle-info

Ticket transfer requests the actual execution of a transaction using the ticket information registered on the server.

If the ticket transfer is successful, the transaction history is permanently included in the blockchain and cannot be changed or canceled.

Passes the issued ticket UUID and wallet password to execute an actual transaction with that ticket information.

To learn how to request a ticket UUID, read Create a ticket.

See Also

sendTicket