Skip to main content

actions

Command

clio get actions <account_name> [pos] [offset] [OPTIONS]

Description

Retrieve all actions with specific account name referenced in authorization or receiver.

Synopsis

clio get actions
<account_name> # REQUIRED: name of account to query on
[pos] # OPTIONAL: sequence number of action for this account, -1 for last
[offset] # OPTIONAL: get actions [pos, pos + offset] for positive offset or [pos - offset, pos] for negative offset
[--full] # don't truncate action output
[--pretty] # pretty print full action json
[--console] # print console output generated by action
[-j | --json] # print full json
[-h | --help] # Print this help message and exit

Examples

Retrieve actions for sysio.token account

clio get actions sysio.token

Output:

#  seq  when                              contract::action => receiver      trx id...   args
================================================================================================================
# 976 2018-06-01T19:54:05.000 sysio.token::transfer => sysio.token 1d1fe154... {"from":"userae","to":"useraa","quantity":"0.000...
# 977 2018-06-01T19:54:05.000 sysio.token::transfer => sysio.token a0c9e5bc... {"from":"userab","to":"useraa","quantity":"0.000...
# 978 2018-06-01T19:54:05.000 sysio.token::transfer => sysio.token 3749d0d1... {"from":"userab","to":"userah","quantity":"0.000...
# 979 2018-06-01T19:54:05.000 sysio.token::transfer => sysio.token dda205b0... {"from":"userai","to":"useraj","quantity":"0.000...
# 980 2018-06-01T19:54:05.000 sysio.token::transfer => sysio.token 14089e9b... {"from":"userab","to":"userae","quantity":"0.000...
# 981 2018-06-01T19:54:05.000 sysio.token::transfer => sysio.token 6882cefc... {"from":"useraj","to":"userab","quantity":"0.000...
...