BigInteger |
PlatformService.getBalanceByAddressAndContract(String address,
Contract contract)
查询指定地址, 指定合约余额.
|
Integer |
PlatformService.getDecimalsByContract(Contract contract)
获取合约的精度, 请注意不同平台不同api的返回结果不一致
|
default BigDecimal |
PlatformService.getNumberByAddressAndContract(String address,
Contract contract)
获取指定地址, 指定合约余额 (单位: 个)
|
default BigDecimal |
PlatformService.getNumberByBalanceAndContract(BigInteger balance,
Contract contract)
|
BigDecimal |
PlatformService.getNumberByBalanceAndContract(BigInteger balance,
Contract contract,
MathContext mathContext)
|
G |
PlatformService.transactionGenerate(Account from,
String to,
Contract contract,
BigDecimal value,
TransferParams params)
转账生成
|
default TransferResult |
PlatformService.transfer(Account from,
String to,
Contract contract,
BigDecimal value)
转账
|
default TransferResult |
PlatformService.transfer(Account from,
String to,
Contract contract,
BigDecimal value,
TransferParams params)
转账
|
default BigInteger |
PlatformService.valueToBalanceByContract(BigDecimal value,
Contract contract)
指定合约金额(单位 个)转为数量
|