trans
trans module
trans module provides 2 methods to call between functions,Where the send_inline method requires user authorization and send_context_free_inline does not。
Static function
send_inline
send inline action to specific account
1 | trans.send_inline(account,name,args,authorization); |
Parameter Usage:
- account: String, action sender account name
- name: String, action name
- args: Object, action required parameters
- authorization: Array, action permission
Example
1 | // hi acction |
send_context_free_inline
send context_free inline action to specific account
1 | trans.send_context_free_inline(account,name,args): |
Parameter Usage:
- account: String, action sender account name
- name: String, action name
- args: Object, action required parameters
Example
1 | // hi acction |