File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,26 @@ bitportal.getEOSAccountInfo({
9898 // ...
9999})
100100#+END_SRC
101+ *** getEOSCurrencyBalance
102+ + params
103+ - account: string
104+ - contract: string
105+ + success return
106+ - data: string[]
107+ + error return
108+ - error: object
109+ - message: string
110+ example:
111+ #+BEGIN_SRC javascript
112+ bitportal.getEOSCurrencyBalance({
113+ account: 'inita',
114+ contract: 'eosio.token'
115+ }).then((data) => {
116+ // ...
117+ }).catch((error) => {
118+ // ...
119+ })
120+ #+END_SRC
101121** BitPortal related api
102122*** getCurrentWallet
103123 + no params
@@ -106,7 +126,6 @@ bitportal.getEOSAccountInfo({
106126 - account: string
107127 - publicKey: string
108128 - permisssion: string
109- - info: object (standard eos account info from eosjs)
110129 + error return
111130 - error: object
112131 - message: string
You can’t perform that action at this time.
0 commit comments