Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove public key in metadata #106

Merged
merged 1 commit into from
Jul 22, 2022
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
8 changes: 1 addition & 7 deletions api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1923,7 +1923,7 @@
}
},
"ConstructionMetadataRequest": {
"description":"A ConstructionMetadataRequest is utilized to get information required to construct a transaction. The Options object used to specify which metadata to return is left purposely unstructured to allow flexibility for implementers. Options is not required in the case that there is network-wide metadata of interest. Optionally, the request can also include an array of PublicKeys associated with the AccountIdentifiers returned in ConstructionPreprocessResponse.",
"description":"A ConstructionMetadataRequest is utilized to get information required to construct a transaction. The Options object used to specify which metadata to return is left purposely unstructured to allow flexibility for implementers. Options is not required in the case that there is network-wide metadata of interest.",
"type":"object",
"required": [
"network_identifier"
Expand All @@ -1935,12 +1935,6 @@
"options": {
"description":"Some blockchains require different metadata for different types of transaction construction (ex: delegation versus a transfer). Instead of requiring a blockchain node to return all possible types of metadata for construction (which may require multiple node fetches), the client can populate an options object to limit the metadata returned to only the subset required.",
"type":"object"
},
"public_keys": {
"type":"array",
"items": {
"$ref":"#/components/schemas/PublicKey"
}
}
}
},
Expand Down
8 changes: 0 additions & 8 deletions api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1121,10 +1121,6 @@ components:
purposely unstructured to allow flexibility for implementers. Options
is not required in the case that there is network-wide metadata of
interest.

Optionally, the request can also include an array
of PublicKeys associated with the AccountIdentifiers
returned in ConstructionPreprocessResponse.
type: object
required:
- network_identifier
Expand All @@ -1140,10 +1136,6 @@ components:
the client can populate an options object to limit the metadata
returned to only the subset required.
type: object
public_keys:
type: array
items:
$ref: '#/components/schemas/PublicKey'
ConstructionMetadataResponse:
description: |
The ConstructionMetadataResponse returns network-specific metadata
Expand Down