Submitting a Transaction

var PrivateKey = '0x...'; // Sender Private Key
var Type = 'C_TYPE_COIN'; // Transaction Type

// Signature using secp256k1
var Signature = Circular.SignMessage(TxID, PrivateKey);

// Send and check the transaction
sendAndCheckTransaction(TxID, From, To, Timestamp, Type, Payload, Nonce, Signature, Blockchain);

Last updated