Skip to main content

push transaction

Description

Push an arbitrary JSON transaction

Positional Arguments

  • transaction (text) The JSON of the transaction to push, or the name of a JSON file containing the transaction

Options

-h,--help - Print this help message and exit

-x,--expiration - set the time in seconds before a transaction expires, defaults to 30s

-f,--force-unique - force the transaction to be unique. this will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times

-s,--skip-sign - Specify if unlocked wallet keys should be used to sign transaction

-j,--json - print result as JSON

-d,--dont-broadcast - don't broadcast transaction to the network (just print to stdout)

-p,--permission Type: Text - An account and permission level to authorize, as in 'account@permission'

--max-cpu-usage-ms UINT - set an upper limit on the milliseconds of CPU usage budget, for the execution of the transaction (defaults to 0 which means no limit)

--max-net-usage UINT - set an upper limit on the net usage budget, in bytes, for the transaction (defaults to 0 which means no limit)

--delay-sec UINT - set the delay_sec seconds, defaults to 0s

Example

clio push transaction '{
"max_net_usage_words": 0,
"max_cpu_usage_ms": 0,
"delay_sec": 0,
"context_free_actions": [],
"actions": [
{
"account": "sysio.token",
"name": "transfer",
"authorization": [
{
"actor": "sysio",
"permission": "active"
}
],
"data": {
"from": "sysio",
"to": "han",
"quantity": "1.0000 SYS",
"memo": "memo"
}
}
],
"transaction_extensions": [],
"context_free_data": []
}' -p sysio@active