diff --git a/src/scss/theme/_markdown.scss b/src/scss/theme/_markdown.scss index 67d268dbb1b..e182c57c87b 100644 --- a/src/scss/theme/_markdown.scss +++ b/src/scss/theme/_markdown.scss @@ -140,6 +140,11 @@ text-align: left; padding: 1.2rem; } + + code { + font-family: var(--font-mm-sans-mono); + font-size: 80%; + } } details { diff --git a/wallet/reference/multichain-api.md b/wallet/reference/multichain-api.md index dea721fa0a1..9e170a0fd75 100644 --- a/wallet/reference/multichain-api.md +++ b/wallet/reference/multichain-api.md @@ -383,4 +383,14 @@ according to [CAIP-217](https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/c } } } -``` \ No newline at end of file +``` + +## Error codes + +The Multichain API can return the following JSON-RPC error codes: + +| Code | Description | Related methods | +| ---- | ----------- | --------------- | +| 5000 | Unknown error with request | `wallet_revokeSession`, `wallet_createSession` | +| 5100 | Requested networks are not supported | `wallet_createSession` | +| 5302 | Invalid `sessionProperties` requested | `wallet_createSession` |