Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.
This repository was archived by the owner on Mar 11, 2024. It is now read-only.

获取余额取值错误 #21

@YouquanWang

Description

@YouquanWang

balance = result.c[0];
result 返回的是一个bignumber
balance = result.toFixed()/Math.pow(10,18) 这才是真正的代币数量

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions