Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/pages/komodo-defi-framework/api/legacy/ban_pubkey/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ The `ban_pubkey` method bans the selected pubkey ignoring its order matching mes

## Arguments

| Structure | Type | Description |
| --------- | ------ | --------------------- |
| pubkey | string | the pubkey to ban |
| reason | string | the reason of banning |
| Structure | Type | Description |
| ------------- | ------- | -------------------------------------------------------- |
| pubkey | string | The pubkey to ban |
| reason | string | The reason of banning |
| duration\_min | integer | Optional. Minutes to apply the ban. If not set, ban will persist until kdf is restarted. |

## Response

Expand All @@ -34,7 +35,8 @@ The `ban_pubkey` method bans the selected pubkey ignoring its order matching mes
"userpass": "RPC_UserP@SSW0RD",
"method": "ban_pubkey",
"pubkey": "2cd3021a2197361fb70b862c412bc8e44cff6951fa1de45ceabfdd9b4c520420",
"reason": "test"
"reason": "test",
"duration_min": 15
}
```
</CodeGroup>
Expand Down