getBandwidth

查询账户的带宽信息

用法

tronWeb.trx.getBandwidth("");

参数类型
String(HexString或Base58)

返回值类型
Object

示例

//示例1
>tronWeb.trx.getBandwidth('TVJ6njG5EpUwJt4N9xjTrqU5za78cgadS2');
  Promise{<pending>}
  __proto__: Promise
 [[PromiseStatus]]: "resolved"
 [[PromiseValue]]: 5000

 //示例2
>tronWeb.trx.getBandwidth('41D3FD1B6F3F3A86303E2925844456C49876C4561F');
  Promise {<pending>}
  __proto__: Promise
 [[PromiseStatus]]: "resolved"
 [[PromiseValue]]: 5000