In Numscript, a posting models the movement of an amount of an asset from one account to another. Postings are wrapped in a transaction to ensure that they are applied atomically.Documentation Index
Fetch the complete documentation index at: https://docs.formance.com/llms.txt
Use this file to discover all available pages before exploring further.
Defining a posting
A posting is defined as followed:COIN with no scaling value, and the amount is 100.
Postings with balance
You can omit the amount of an asset in a posting and replace it with a*. This is used when you want to move all of the assets of the accounts in the source block to the ones destination block.
USD/2 asset from the @order:1234 account. 10% of the @order:1234 balance is moved to the @platform:fees account, and the remaining 90% is moved to the @merchant:5678 account.