4⃣
Transactions: API
Transactions are the building material of every blockchain.
Transactions allow users to submit data to the blockchain which allows user to perform actions such as transferring DeSo, creating posts and profiles, and minting NFTs.
Transactions have three steps in their lifecycle
- 1.Construct: The first step for a developer is to interact with the DeSo Backend API through a transaction construction endpoint to get an unsigned user transaction. Social Transactions API, NFT Transactions API, Financial Transactions API, and Derived Keys Transaction API explain the endpoints that will get you an unsigned transaction.
- 3.Broadcast: The signed transaction will be sent through the
/api/v0/submit-transaction
by the developer so that it can be added to the blockchain ledger. The Submit a transaction submit explains how this endpoint works.
post
/api/v0/submit-transaction
Submit a transaction
post
/api/v0/get-txn
Get Transaction
post
/api/v0/append-extra-data
Append Extra Data
post
/api/v0/get-transaction-spending
Get Transaction Spending
Last modified 7mo ago