}\r
const data = {\r
"account": this.address,\r
- "pending": "true",\r
+ "receivable": "true",\r
"representative": "true",\r
"weight": "true"\r
}\r
- const { balance, frontier, pending, representative, weight } = await node.call('account_info', data)\r
+ const { balance, frontier, receivable, representative, weight } = await node.call('account_info', data)\r
if (frontier == null) {\r
throw new Error('Account not found')\r
}\r
this.#b = BigInt(balance)\r
this.#f = frontier\r
- this.#r = BigInt(pending)\r
+ this.#r = BigInt(receivable)\r
this.#rep = new Account(representative)\r
this.#w = BigInt(weight)\r
}\r