push_liquid_account_transaction
Push Liquid Account Transaction
1
import { getClient } from "./client";
2
​
3
(async () => {
4
const service = await (await getClient()).service('vaccounts', "vacctstst123");
5
​
6
const response = await service.push_liquid_account_transaction(
7
"vacctstst123",
8
"5JMUyaQ4qw6Zt816B1kWJjgRA5cdEE6PhCb2BW45rU8GBEDa1RC",
9
"hello",
10
{
11
vaccount: 'testing124',
12
b: 1,
13
c: 2
14
}
15
);
16
console.log(response);
17
// { result:
18
// { broadcast: true,
19
// transaction:
20
// { compression: 'none',
21
// transaction: [Object],
22
// signatures: [Array] },
23
// transaction_id:
24
// 'ef90712d7bfe7da325a5eb5545b13f1bb05ba1360753463645be96dce18858c2',
25
// processed:
26
// { id:
27
// 'ef90712d7bfe7da325a5eb5545b13f1bb05ba1360753463645be96dce18858c2',
28
// block_num: 60942620,
29
// block_time: '2019-08-07T14:12:47.500',
30
// producer_block_id: null,
31
// receipt: [Object],
32
// elapsed: 4414,
33
// net_usage: 400,
34
// scheduled: false,
35
// action_traces: [Array],
36
// account_ram_delta: null,
37
// except: null,
38
// error_code: null } } }
39
})().catch((e) => { console.log(e); });
Copied!
Copy link