Skip to content

Commit 180c78e

Browse files
committed
add getEOSCurrencyBalance
1 parent 68ac249 commit 180c78e

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.org

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)