Skip to main content

Metadata

Overview

Provides metadata for credits.aleo program functions including prover and verifier URLs. The Metadata class contains static methods that return metadata objects for each credits.aleo function, useful for downloading proving keys and verifying keys.

Properties

Each Metadata object contains the following properties:

PropertyTypeDescription
namestringThe function name
locatorstringThe function locator (program_id/function_name)
proverstringURL to download the proving key
verifierstringThe verifier identifier
verifyingKeystringThe verifying key identifier

Methods

baseUrl

Get the base URL for downloading proving keys

baseUrl() ► string
ParamType
returnstring

bond_public

Get metadata for the bond_public function

bond_public()Metadata
ParamType
returnMetadata

bond_validator

Get metadata for the bond_validator function

bond_validator()Metadata
ParamType
returnMetadata

claim_unbond_public

Get metadata for the claim_unbond_public function

claim_unbond_public()Metadata
ParamType
returnMetadata

fee_private

Get metadata for the fee_private function

fee_private()Metadata
ParamType
returnMetadata

fee_public

Get metadata for the fee_public function

fee_public()Metadata
ParamType
returnMetadata

inclusion

Get metadata for the inclusion proof function

inclusion()Metadata
ParamType
returnMetadata

join

Get metadata for the join function

join()Metadata
ParamType
returnMetadata

set_validator_state

Get metadata for the set_validator_state function

set_validator_state()Metadata
ParamType
returnMetadata

split

Get metadata for the split function

split()Metadata
ParamType
returnMetadata

transfer_private

Get metadata for the transfer_private function

transfer_private()Metadata
ParamType
returnMetadata

transfer_private_to_public

Get metadata for the transfer_private_to_public function

transfer_private_to_public()Metadata
ParamType
returnMetadata

transfer_public

Get metadata for the transfer_public function

transfer_public()Metadata
ParamType
returnMetadata

transfer_public_as_signer

Get metadata for the transfer_public_as_signer function

transfer_public_as_signer()Metadata
ParamType
returnMetadata

transfer_public_to_private

Get metadata for the transfer_public_to_private function

transfer_public_to_private()Metadata
ParamType
returnMetadata

unbond_public

Get metadata for the unbond_public function

unbond_public()Metadata
ParamType
returnMetadata