Skip to content

Commit da4b470

Browse files
update: service.md for callouts (#3832)
Signed-off-by: Ashutosh Tripathi <39340292+ashucoder9@users.noreply.github.com> Signed-off-by: Meaghan FitzGerald <meag.fitz@avalabs.org> Co-authored-by: Meaghan FitzGerald <meag.fitz@avalabs.org>
1 parent d2454b7 commit da4b470

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

vms/avm/service.md

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,11 @@ curl -X POST --data '{
175175
}
176176
```
177177

178-
179178
### `avm.getAllBalances`
180179

181-
:::caution
182-
180+
<Callout type="warn">
183181
Deprecated as of [**v1.9.12**](https://github.com/ava-labs/avalanchego/releases/tag/v1.9.12).
184-
185-
:::
182+
</Callout>
186183

187184
Get the balances of all assets controlled by a given address.
188185

@@ -254,8 +251,7 @@ avm.getAssetDescription({assetID: string}) -> {
254251
of this asset are displayed as 10.0. If denomination is 2, 100 units of this asset are displays as
255252
.100, etc.
256253

257-
:::note
258-
254+
<Callout type="note">
259255
The AssetID for AVAX differs depending on the network you are on.
260256

261257
Mainnet: FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z
@@ -264,8 +260,7 @@ Testnet: U8iRqJoiJm8xZHAacmvYyZVwqQx6uDNtQeP3CQ6fcgQk3JqnK
264260

265261
For finding the `assetID` of other assets, this [info] might be useful.
266262
Also, `avm.getUTXOs` returns the `assetID` in its output.
267-
268-
:::
263+
</Callout>
269264

270265
**Example Call:**
271266

@@ -297,11 +292,9 @@ curl -X POST --data '{
297292

298293
### `avm.getBalance`
299294

300-
:::caution
301-
295+
<Callout type="warn">
302296
Deprecated as of [**v1.9.12**](https://github.com/ava-labs/avalanchego/releases/tag/v1.9.12).
303-
304-
:::
297+
</Callout>
305298

306299
Get the balance of an asset controlled by a given address.
307300

@@ -668,9 +661,9 @@ curl -X POST --data '{
668661

669662
### `avm.getTxStatus`
670663

671-
:::caution
664+
<Callout type="warn">
672665
Deprecated as of **v1.10.0**.
673-
:::
666+
</Callout>
674667

675668
Get the status of a transaction sent to the network.
676669

0 commit comments

Comments
 (0)