@i3m/wallet-desktop-openapi
Version:
i3M-Wallet Developers API that can be used to interact with the i3M-Wallet. In production it is encapsulated inside a secure connection. Please use the @i3m/wallet-protocol-api to interact with the wallet.
54 lines (48 loc) • 1.38 kB
YAML
openapi: '3.0.3'
info:
version: 1.0.0
title: i3M Wallet API
paths:
/providerinfo:
get:
summary: Gets info of the DLT provider the wallet is using
operationId: providerinfoGet
x-eov-operation-handler: providerinfo
tags:
- utils
responses:
"200":
description: A JSON object with information of the DLT provider currently in use.
content:
application/json:
schema:
$ref: "#/components/schemas/ProviderData"
default:
description: unexpected error
content:
application/json:
schema:
$ref: "../schema/error.yaml#/components/schemas/ApiError"
components:
schemas:
ProviderData:
title: ProviderData
description: A JSON object with information of the DLT provider currently in use.
type: object
properties:
provider:
type: string
example: did:ethr:i3m
network:
type: string
example: i3m
rpcUrl:
oneOf:
- type: string
example: http://95.211.3.250:8545
- type: array
items:
type: string
uniqueItems: true
example: [http://95.211.3.249:8545, http://95.211.3.250:8545]
additionalProperties: true