svc_sign_signtrx
​

svc_sign_signtrx | code​

1
/**
2
* LiquidScheduler uses the schedule_timer macro to schedule a cron action on chain by adding a timer to the timerentry singleton
3
*
4
* @param {string} id - trx ID
5
* @param {string} destination - to destination address
6
* @param {string} trx_data - trx data
7
* @param {string} chain - chain (bsc, bsctest, ropsten)
8
* @param {string} chain_type - chain type (evm)
9
* @param {string} account - account name, unused by API
10
* @param {uint16_t} sigs_required - signatures required
11
*
12
* Example:
13
*
14
* @code
15
* [[eosio::action]] void sendsigreq(std::string id, std::string destination, std::string trx_data, std::string chain, std::string chain_type, std::string account)
16
* {
17
* svc_sign_signtrx(id, destination, trx_data, chain, chain_type, account, 1);
18
* }
19
* @endcode
20
*/
21
​
22
sign_svc_helper::svc_sign_signtrx(id, sister_address, data, chain_name, chain_type, account, 1);
Copied!
Copy link
Contents