# Functions
ConvertProofs converts documents.DocumentProof to ProofsResponse.
DeriveResponseHeader derives an appropriate response header.
GetDocumentResponse converts model to a client api format.
ToClientAccount converts config.Account to Account.
ToClientAccounts converts config.Account's to Account's.
ToDocumentAttributes converts AttributeRequestMap to document attributes.
ToDocumentsCreatePayload converts CoreAPI create payload to documents payload.
ToNFTMintRequest converts http request to nft mint request.
ToNFTMintRequest converts http request to nft mint request.
# Constants
AccountIDParam for accounts api.
DocumentIDParam for document_id in api path.
ErrAccountIDInvalid is a sentinel error for invalid account IDs.
ErrAccountNotFound is a sentinel error for when account is missing.
ErrDocumentNotFound is a sentinel error for missing documents.
ErrInvalidDocumentID is a sentinel error for invalid document identifiers.
RegistryAddressParam for nft registry path.
TokenIDParam for nft tokenID.
VersionIDParam for version_id in api path.
# Structs
Account holds the single account details.
Accounts holds a list of accounts.
AttributeRequest defines a single attribute.
AttributeResponse adds key to the attribute.
CreateDocumentRequest defines the payload for creating documents.
DocumentResponse is the common response for Document APIs.
EthAccount holds address of the account.
GenerateAccountPayload holds required fields to generate account with defaults.
KeyPair represents the public and private key.
MintNFTOnCCRequest holds required fields for minting NFT on centrifuge chain.
MintNFTOnCCResponse holds the details of the minted NFT on CC.
MintNFTRequest holds required fields for minting NFT.
MintNFTResponse holds the details of the minted NFT.
MonetaryValue defines user format to represent currency type Value string representation of decimal number ChainID hex bytes representing the chain where the currency is relevant ID string representing the Currency (USD|ETH|0x9f8f72aa9304c8b593d555f12ef6589cc3a579a2(DAI)...).
NFT defines a single NFT.
NFTOwnerOnCCResponse is the response for NFT owner request.
NFTOwnerResponse is the response for NFT owner request.
NFTResponseHeader holds the NFT mint job ID.
ProofResponseHeader holds the document details.
ProofsRequest holds the fields for which proofs are generated.
ProofsResponse holds the proofs for the fields given for a document.
ResponseHeader holds the common response header fields.
SignedValue contains the Identity of who signed the attribute and value which was signed.
SignRequest holds the payload to be signed.
SignResponse holds the signature, pk and Payload for the Sign request.
TransferNFTOnCCRequest holds Registry Address and To address for NFT transfer.
TransferNFTResponse is the response for NFT transfer.
TransferNFTRequest holds Registry Address and To address for NFT transfer.
TransferNFTResponse is the response for NFT transfer.
# Type aliases
AttributeMapRequest defines a map of attributes with attribute key as key.
AttributeMapResponse maps attribute label to AttributeResponse.