test: add RPC call to PegIn integration test, document new RPC endpoint

This commit is contained in:
Aaron Blankstein
2023-01-19 11:01:55 -06:00
parent 4d58a52762
commit e74416625d
6 changed files with 82 additions and 9 deletions

View File

@@ -39,7 +39,20 @@ paths:
$ref: ./api/transaction/post-core-node-transactions-error.schema.json
example:
$ref: ./api/transaction/post-core-node-transactions-error.example.json
/v2/burn_ops/{burn_height}/{op_type}:
get:
summary: Get burn operations
description: Get all burn operations of type `op_type` successfully read at `burn_height`. Valid `op_type`s are just `peg_in` for now.
tags:
- Info
operationId: get_burn_ops
responses:
200:
description: Burn operations list
content:
application/json:
example:
$ref: ./api/core-node/get-burn-ops.example.json
/v2/contracts/interface/{contract_address}/{contract_name}:
get:
summary: Get contract interface