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:
| Property | Type | Description |
|---|---|---|
| name | string | The function name |
| locator | string | The function locator (program_id/function_name) |
| prover | string | URL to download the proving key |
| verifier | string | The verifier identifier |
| verifyingKey | string | The verifying key identifier |
Methods
baseUrl
Get the base URL for downloading proving keys
baseUrl() ► string
| Param | Type |
|---|---|
| return | string |
bond_public
Get metadata for the bond_public function
bond_public() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
bond_validator
Get metadata for the bond_validator function
bond_validator() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
claim_unbond_public
Get metadata for the claim_unbond_public function
claim_unbond_public() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
fee_private
Get metadata for the fee_private function
fee_private() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
fee_public
Get metadata for the fee_public function
fee_public() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
inclusion
Get metadata for the inclusion proof function
inclusion() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
join
Get metadata for the join function
join() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
set_validator_state
Get metadata for the set_validator_state function
set_validator_state() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
split
Get metadata for the split function
split() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
transfer_private
Get metadata for the transfer_private function
transfer_private() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
transfer_private_to_public
Get metadata for the transfer_private_to_public function
transfer_private_to_public() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
transfer_public
Get metadata for the transfer_public function
transfer_public() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
transfer_public_as_signer
Get metadata for the transfer_public_as_signer function
transfer_public_as_signer() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
transfer_public_to_private
Get metadata for the transfer_public_to_private function
transfer_public_to_private() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |
unbond_public
Get metadata for the unbond_public function
unbond_public() ► Metadata
| Param | Type |
|---|---|
| return | Metadata |