svc_sign_signtrx
​

svc_sign_signtrx | code​

/**
* LiquidScheduler uses the schedule_timer macro to schedule a cron action on chain by adding a timer to the timerentry singleton
*
* @param {string} id - trx ID
* @param {string} destination - to destination address
* @param {string} trx_data - trx data
* @param {string} chain - chain (bsc, bsctest, ropsten)
* @param {string} chain_type - chain type (evm)
* @param {string} account - account name, unused by API
* @param {uint16_t} sigs_required - signatures required
*
* Example:
*
* @code
* [[eosio::action]] void sendsigreq(std::string id, std::string destination, std::string trx_data, std::string chain, std::string chain_type, std::string account)
* {
* svc_sign_signtrx(id, destination, trx_data, chain, chain_type, account, 1);
* }
* @endcode
*/
​
sign_svc_helper::svc_sign_signtrx(id, sister_address, data, chain_name, chain_type, account, 1);
Copy link