这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
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
73 changes: 0 additions & 73 deletions docs/swagger/algorand-routes.yml

This file was deleted.

36 changes: 26 additions & 10 deletions docs/swagger/evm-routes.yml → docs/swagger/chain-routes.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
paths:
/evm/nonce:
/chain/nonce:
post:
tags:
- 'evm'
- 'chain'
summary: 'Get the current nonce for the provided private key'
operationId: 'nonce'
consumes:
Expand All @@ -20,10 +20,10 @@ paths:
schema:
$ref: '#/definitions/NonceResponse'

/evm/nextNonce:
/chain/nextNonce:
post:
tags:
- 'evm'
- 'chain'
summary: 'Get the next nonce for the provided private key'
operationId: 'nonce'
consumes:
Expand All @@ -41,10 +41,10 @@ paths:
schema:
$ref: '#/definitions/NonceResponse'

/evm/allowances:
/chain/allowances:
post:
tags:
- 'evm'
- 'chain'
summary: 'Get the ERC20 allowances for a spender on a given private key'
operationId: 'allowances'
consumes:
Expand All @@ -61,10 +61,10 @@ paths:
'200':
schema:
$ref: '#/definitions/AllowancesResponse'
/evm/approve:
/chain/approve:
post:
tags:
- 'evm'
- 'chain'
summary: 'Create an ERC20 approval for a spender on an private key'
operationId: 'approve'
consumes:
Expand All @@ -82,10 +82,10 @@ paths:
schema:
$ref: '#/definitions/ApproveResponse'

/evm/cancel:
/chain/cancel:
post:
tags:
- 'evm'
- 'chain'
summary: 'Cancel transaction'
operationId: 'cancel'
consumes:
Expand All @@ -102,3 +102,19 @@ paths:
'200':
schema:
$ref: '#/definitions/CancelResponse'

/chain/transfer:
post:
tags:
- 'chain'
summary: 'Transfer balance'
parameters:
- in: 'body'
name: 'body'
required: true
schema:
$ref: '#/definitions/TransferRequest'
produces:
- 'application/json'
responses:
'200'
57 changes: 0 additions & 57 deletions docs/swagger/cosmos-routes.yml

This file was deleted.

Loading