In some blockchains, transaction construction requires the PublicKey of some AccountIdentifiers present in a transaction.
Changes
This PR allows a Rosetta implementation to request the PublicKey of any number of AccountIdentifiers in the /construction/preprocess response. The caller can then provide the requested PublicKeys in a call to /construction/payloads so that construction can be completed.
Closes: #43 Additional Context: https://community.rosetta-api.org/t/any-way-to-get-public-key-from-signer-package-before-combine/189
Motivation
In some blockchains, transaction construction requires the
PublicKey
of someAccountIdentifiers
present in a transaction.Changes
This PR allows a Rosetta implementation to request the
PublicKey
of any number ofAccountIdentifiers
in the/construction/preprocess
response. The caller can then provide the requestedPublicKeys
in a call to/construction/payloads
so that construction can be completed.