Transactions
The Transaction is an action on the Blockchain on behalf of an Account.
The Signum blockchain provides various types of transactions. The content of the transaction depends on its type. The transaction types are listed in the Transaction Types.
Each transaction contains the public key of the sender account, on behalf of which the action is performed on the blockchain. The Transaction sent from an ordinary account (without script) must contain the sender's digital signature. Smart contracts create transactions by the given logic which needs no verification of the outgoing transaction.
Signum transactions are cheap but not free: the sender is charged a fee. The sender can specify any amount of fee but not less than the minimum amount. The minimum fees are listed in the Transaction Fees.
The Node HTTP API of Signum nodes use the JSON representation of transactions. You can send transactions to a node and read transactions stored on the blockchain via REST API in JSON.
Here is an example of JSON representation for a normal payment:
Field | Description |
Type | Definition of the main category of the transaction ( see Transaction Types ) |
Subtype | Definition of the transaction ID |
timestamp | Seconds since Genesis Block (Block 0) |
deadline | Value in seconds - the standard is 1440 seconds |
senderPublicKey | The publisher/sender's public key |
recipient | The recipients account Id |
recipientRS | The recipient's Reed Solomon Address (see Address ) in the form of S-1234-ABCD-12AB-123YZ |
amountNQT | Signa amount in Planck (1 Signa = 100000000 = 10^8 Planck) |
feeNQT | Fee amount in Planck |
signature | |
singatureHash | |
fullHash | |
transaction | The Id of this transaction |
attachment | An attachment of a maximum of 1,000-byte arbitrary data. |
attachmentBytes | |
sender | The sender account Id |
senderRS | The sender Reed Solomon Address (see Address ) in the form of S-1234-ABCD-12AB-123YZ |
height | Block height |
version | A version of the transaction structure |
ecBlockId | |
ecBlockHeight | |
block | |
confirmation | Number of confirmations since the transaction was added to the blockchain |
blockTimestamp | Seconds since Genesis Block (Block 0) |