OnFlow.send_transaction
You're seeing just the function
send_transaction
, go back to OnFlow module for more information.
Specs
send_transaction( String.t(), [OnFlow.Credentials.t()] | OnFlow.Credentials.t(), keyword() ) :: transaction_result()
Sends a transaction. Options:
:args
- the list of objects that will be sent along with the transaction. This must be an Elixir list that can be encoded to JSON.:authorizers
- a list of authorizing%Credentials{}
structs to authorize the transaction.:payer
- a hex-encoded address or%Credentials{}
struct that will pay for the transaction.:wait_until_sealed
- eithertrue
orfalse
. Note that if the transaction is not sealed after 30 seconds, this will return{:error, :timeout}
. Defaults totrue
.