4️⃣Transactions: API
Submit a transaction
Request Body
Name
Type
Description
{
"Transaction": {
"PublicKey": "Aqo9yNKZ6h5JFN5mSU7T4W7amg1lcZ1SPBqaA8v59gxF", // public key of the transactor
"TxnTypeJSON": 5, // Integer representing transaction type
"ExtraData": { // Arbitrary key value map providing metadata about the transaction
"key": "value"
},
"Signature": {
"R": 981237981749831749879848321, // R attribute of signature
"S": 843174832748124, // S attribute of signature
},
"TxInputs": [{
"Index": 0, // Index within transaction where the unspent output occurs
"TxID": [1, 2, 3, ...] // 32 byte transaction id where unspent output occurs
}],
"TxOutputs": [{
"PublicKey": "Aqo9yNKZ6h5JFN5mSU7T4W7amg1lcZ1SPBqaA8v59gxF", // Public key receiving the output
"AmountNanos": 912739 // Amount of DeSo in the output
}],
"TxnMeta": { // Transaction metadata. more details explaining TxnMeta for each transaction type coming soon.
...
}
},
"TxnHashHex": "0f40a5fc7eb991cea55ebece1ec21ee5fb1c4bba537bb76643ee1d31f617bb56",
"PostEntryResponse": <PostEntryResponse>, // If transaction is a Submit post transaction, include the PostEntryResponse that was created as a result of the transaction.
}Name
Type
Description
Get Transaction
Request Body
Name
Type
Description
Name
Type
Description
Append Extra Data
Request Body
Name
Type
Description
Name
Type
Description
Get Transaction Spending
Request Body
Name
Type
Description
Name
Type
Description
Last updated
Was this helpful?
