Last updated 11 months ago
Sample :
This is special method , similar to function but there is no need assetID. System created a new internal transaction when code line 1 executed.
Response:
To send from PSce to other defined address.
const result = await Transaction.sendPIRI(<Receipt Address:Base58>,<amount:integer | float>);
const result = await Transaction.sendPIRI('PRTMPp6wo6zGAcStmhmBGQErnomzhFCoaTfLuXKTvo2',100.999);
{ "executedResult":{}, "error":0, "tx":"a3449d13cc98521e2711f4f033d99f93876c507739774986e08f0574a89e7d9d", "sign":"3045022054d25f4efa52bcf785588c5ad49f60d06955f01476a7de41bd5c6a4893d980e1022100d214cb6a377813b392847532ebaa85bc7f7ca9d99ab12003be5471471e3b3a7d", "timeStamp":1705185353375 }