| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Blockchain.Builder
Documentation
createSimpleTransaction Source #
Arguments
| :: KeyPair | KeyPair for source address. PrivateKey will be used to sign transaction. |
| -> PublicKey | Target address |
| -> Word | Transaction value |
| -> Word | Fee |
| -> Blockchain Validated | Validated blockchain |
| -> IO (Either CreateTransactionException Transaction) |
Create a transaction from a single public key address.