Skip to content

Commit

Permalink
markdown fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samliok committed Dec 17, 2024
1 parent e6bdf72 commit f5e2dca
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions vms/avm/service.md
Original file line number Diff line number Diff line change
Expand Up @@ -783,47 +783,6 @@ curl -X POST --data '{
}
```

### `info.getTxFee`

Get the fees of the network.

**Signature**:

```
info.getTxFee() ->
{
txFee: uint64,
createAssetTxFee: uint64,
}
```

- `txFee` is the default fee for making transactions.
- `createAssetTxFee` is the fee for creating a new asset.

All fees are denominated in nAVAX.

**Example Call**:

```sh
curl -X POST --data '{
"jsonrpc":"2.0",
"id" : 1,
"method" :"avm.getTxFee",
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/bc/X
```

**Example Response**:

```json
{
"jsonrpc": "2.0",
"result": {
"txFee": "1000000",
"createAssetTxFee": "10000000"
}
}
```

### `avm.getAssetDescription`

Get information about an asset.
Expand Down Expand Up @@ -1218,6 +1177,47 @@ Most outputs use the secp256k1 FX, look like this:
The above output can be consumed after Unix time `locktime` by a transaction that has signatures
from `threshold` of the addresses in `addresses`.

### `avm.getTxFee`

Get the fees of the network.

**Signature**:

```
avm.getTxFee() ->
{
txFee: uint64,
createAssetTxFee: uint64,
}
```

- `txFee` is the default fee for making transactions.
- `createAssetTxFee` is the fee for creating a new asset.

All fees are denominated in nAVAX.

**Example Call**:

```sh
curl -X POST --data '{
"jsonrpc":"2.0",
"id" : 1,
"method" :"avm.getTxFee",
}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/bc/X
```

**Example Response**:

```json
{
"jsonrpc": "2.0",
"result": {
"txFee": "1000000",
"createAssetTxFee": "10000000"
}
}
```

### `avm.getTxStatus`

:::caution
Expand Down

0 comments on commit f5e2dca

Please sign in to comment.