Documentation ¶
Index ¶
- Constants
- func DecodeAgentID(e echo.Context) (isc.AgentID, error)
- func DecodeBlobHash(e echo.Context) (*hashing.HashValue, error)
- func DecodeChainID(e echo.Context) (isc.ChainID, error)
- func DecodeHNameFromHNameHexString(e echo.Context, key string) (isc.Hname, error)
- func DecodeNFTID(e echo.Context) (*iotago.NFTID, error)
- func DecodePublicKey(e echo.Context) (*cryptolib.PublicKey, error)
- func DecodeRequestID(e echo.Context) (isc.RequestID, error)
- func DecodeUInt(e echo.Context, key string) (uint64, error)
Constants ¶
View Source
const ( ParamAgentID = "agentID" ParamBlobHash = "blobHash" ParamBlockIndex = "blockIndex" ParamChainID = "chainID" ParamContractHName = "contractHname" ParamFieldKey = "fieldKey" ParamNFTID = "nftID" ParamPeer = "peer" ParamPublicKey = "publicKey" ParamRequestID = "requestID" ParamStateKey = "stateKey" ParamTxHash = "txHash" ParamUsername = "username" ParamBlockIndexOrTrieRoot = "block" )
View Source
const ( DescriptionAgentID = "AgentID (Bech32 for WasmVM | Hex for EVM)" DescriptionBlobHash = "BlobHash (Hex)" DescriptionChainID = "ChainID (Bech32)" DescriptionContractHName = "The contract hname (Hex)" DescriptionFieldKey = "FieldKey (String)" DescriptionNFTID = "NFT ID (Hex)" DescriptionPeer = "Name or PubKey (hex) of the trusted peer" DescriptionRequestID = "RequestID (Hex)" DescriptionStateKey = "State Key (Hex)" DescriptionTxHash = "Transaction hash (Hex)" DescriptionUsername = "The username" DescriptionBlockIndexOrTrieRoot = "Block index or trie root" )
Variables ¶
This section is empty.
Functions ¶
func DecodeAgentID ¶
func DecodeBlobHash ¶
func DecodeChainID ¶
func DecodeNFTID ¶
func DecodePublicKey ¶
func DecodeRequestID ¶
func DecodeUInt ¶
DecodeUInt decodes params to Uint64. If a lower Uint is expected it can be casted with uintX(returnValue) but validate the result
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.