These docs are for v1.3.0. Click to read the latest docs for v1.6.

get_action

Retrieves the indicated action from the active transaction.

Retrieves the indicated action from the active transaction.

Parameters

  • type - 0 for context free action, 1 for action

  • index - the index of the requested action

  • buff - output packed buff of the action

  • size - amount of buff read, pass 0 to have size returned

Returns

the size of the action, -1 on failure