Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TarikGul committed Feb 1, 2024
1 parent 75c5d05 commit 204108a
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dist/app.bundle.js

Large diffs are not rendered by default.

64 changes: 64 additions & 0 deletions docs/src/openapi-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,45 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Error'
/accounts/{accountId}/proxy-info:
get:
tags:
- accounts
summary: Get proxy account information.
description: Returns information about a proxy account. This will include
delegated accounts, and deposits held.
operationId: getProxyInfo
parameters:
- name: accountId
in: path
description: SS58 address of the account.
required: true
schema:
type: string
format: SS58
- name: at
in: query
description: Block at which to query asset approval info for the
specified account.
required: false
schema:
type: string
description: Block height (as a non-negative integer) or hash
(as a hex string).
format: unsignedInteger or $hex
responses:
"200":
description: successfull operation
content:
application/json:
schema:
$ref: '#/components/schemas/AccountProxyInfo'
"400":
description: Invalid Address
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/accounts/{accountId}/staking-info:
get:
tags:
Expand Down Expand Up @@ -2444,6 +2483,31 @@ components:
description: An array of queried assets.
items:
$ref: '#/components/schemas/AssetsBalance'
AccountProxyInfo:
type: object
properties:
at:
$ref: '#/components/schemas/BlockIdentifiers'
delegatedAccounts:
type: array
items:
type: object
properties:
delegate:
type: string
description: Delegate address for the given proxy.
format: ss58
delay:
type: string
description: The announcement period required of the initial proxy. Will generally be zero.
format: unsignedInteger
proxyType:
type: string
description: The permissions allowed for this proxy account.
depositHeld:
type: string
format: unsignedInteger
description: The held deposit.
AccountStakingInfo:
type: object
properties:
Expand Down

0 comments on commit 204108a

Please sign in to comment.