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

Commit 3370d06

Browse files
author
Gabriel Cardona
committed
Format balances.
1 parent 5033d7e commit 3370d06

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/data/docs/slp/utils.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ balances : `Object`. The address's balances
9292
})();
9393

9494
// returns
95-
// { '968ff0cc4c93864001e03e9524e351250b94ec56150fa4897f65b0b6477d44d4': 9980000000000,
96-
// df808a41672a0a0ae6475b44f272a107bc9961b90f29dc918d71301f24fe92fb: 61700000000,
97-
// b96304d12f1bbc2196df582516410e55a9b34e13c7b4585bf5c1770af30d034f: 1,
98-
// a436c8e1b6bee3d701c6044d190f76f774be83c36de8d34a988af4489e86dd37: 7760000000
95+
// { '968ff0cc4c93864001e03e9524e351250b94ec56150fa4897f65b0b6477d44d4': '9980',
96+
// df808a41672a0a0ae6475b44f272a107bc9961b90f29dc918d71301f24fe92fb: '617',
97+
// b96304d12f1bbc2196df582516410e55a9b34e13c7b4585bf5c1770af30d034f: '1',
98+
// a436c8e1b6bee3d701c6044d190f76f774be83c36de8d34a988af4489e86dd37: '776'
9999
// }
100100

101101
// balances for Cash Address
@@ -109,7 +109,7 @@ balances : `Object`. The address's balances
109109
})();
110110

111111
// returns
112-
// { '467969e067f5612863d0bf2daaa70dede2c6be03abb6fd401c5ef6e1e1f1f5c5': 50700 }
112+
// { '467969e067f5612863d0bf2daaa70dede2c6be03abb6fd401c5ef6e1e1f1f5c5': '507' }
113113

114114
// balances for Legacy Address
115115
(async () => {
@@ -122,7 +122,7 @@ balances : `Object`. The address's balances
122122
})();
123123

124124
// returns
125-
// { '467969e067f5612863d0bf2daaa70dede2c6be03abb6fd401c5ef6e1e1f1f5c5': 50700 }
125+
// { '467969e067f5612863d0bf2daaa70dede2c6be03abb6fd401c5ef6e1e1f1f5c5': '507' }
126126

127127
### `balance`
128128

@@ -153,7 +153,7 @@ balance : `Object`. the address's balance for single token
153153
})();
154154

155155
// returns
156-
// 61700000000
156+
// 617
157157

158158
// single balance for Cash Address
159159
(async () => {
@@ -169,7 +169,7 @@ balance : `Object`. the address's balance for single token
169169
})();
170170

171171
// returns
172-
// 61700000000
172+
// 617
173173

174174
// single balance for Legacy Address
175175
(async () => {
@@ -185,7 +185,7 @@ balance : `Object`. the address's balance for single token
185185
})();
186186

187187
// returns
188-
// 123400
188+
// 1234
189189

190190
### `validateTxid`
191191

0 commit comments

Comments
 (0)