- callGetMethod(String) - Method in class com.casper.sdk.service.http.rpc.HttpMethods
-
- CasperException - Exception in com.casper.sdk.exceptions
-
- CasperException(String, Throwable) - Constructor for exception com.casper.sdk.exceptions.CasperException
-
- CasperSdk - Class in com.casper.sdk
-
Entry point into the SDK Exposes all permissible methods
- CasperSdk(String, int) - Constructor for class com.casper.sdk.CasperSdk
-
- CHAIN_GET_BLOCK - Static variable in class com.casper.sdk.Constants
-
- CHAIN_GET_BLOCK_TRANSFERS - Static variable in class com.casper.sdk.Constants
-
- CHAIN_GET_ERA_INFO_BY_SWITCH_BLOCK - Static variable in class com.casper.sdk.Constants
-
- CHAIN_GET_STATE_ROOT_HASH - Static variable in class com.casper.sdk.Constants
-
- CLByteArrayInfo - Class in com.casper.sdk.types
-
Specialized
CLTypeInfo for byte arrays that have a size.
- CLByteArrayInfo(int) - Constructor for class com.casper.sdk.types.CLByteArrayInfo
-
- clear() - Static method in class com.casper.sdk.service.json.deserialize.DeserializerContext
-
- clear() - Method in class com.casper.sdk.types.CLMap
-
- CLKeyInfo - Class in com.casper.sdk.types
-
- CLKeyInfo(CLKeyInfo.KeyType) - Constructor for class com.casper.sdk.types.CLKeyInfo
-
- CLKeyInfo.KeyType - Enum in com.casper.sdk.types
-
The type of the key
- CLKeyValue - Class in com.casper.sdk.types
-
Specialized value type for keys
- CLKeyValue(String, CLKeyInfo.KeyType, Object) - Constructor for class com.casper.sdk.types.CLKeyValue
-
- CLKeyValue(byte[], CLKeyInfo.KeyType, Object) - Constructor for class com.casper.sdk.types.CLKeyValue
-
- CLKeyValueJsonSerializer - Class in com.casper.sdk.service.json.serialize
-
- CLKeyValueJsonSerializer() - Constructor for class com.casper.sdk.service.json.serialize.CLKeyValueJsonSerializer
-
- CLMap - Class in com.casper.sdk.types
-
Serializes as a list of key-value tuples.
- CLMap(String, CLMapTypeInfo, Object) - Constructor for class com.casper.sdk.types.CLMap
-
- CLMap(byte[], CLMapTypeInfo, Object) - Constructor for class com.casper.sdk.types.CLMap
-
- CLMapTypeInfo - Class in com.casper.sdk.types
-
The type info for a CLMap
- CLMapTypeInfo(CLTypeInfo, CLTypeInfo) - Constructor for class com.casper.sdk.types.CLMapTypeInfo
-
- CLName - Annotation Type in com.casper.sdk.types
-
Annotation use to provide the name of a CL type or variable that does not match Java's camelCase naming conventions.
- CLOptionTypeInfo - Class in com.casper.sdk.types
-
Specialised type for Options that have an inner type
- CLOptionTypeInfo(CLTypeInfo) - Constructor for class com.casper.sdk.types.CLOptionTypeInfo
-
- CLOptionValue - Class in com.casper.sdk.types
-
Specialisation of a value for an CL Option type
- CLOptionValue(String, CLOptionTypeInfo, Object) - Constructor for class com.casper.sdk.types.CLOptionValue
-
- CLOptionValue(byte[], CLOptionTypeInfo, Object) - Constructor for class com.casper.sdk.types.CLOptionValue
-
- CLPublicKey - Class in com.casper.sdk.types
-
Representing a public key derived from an ECC key pair.
- CLPublicKey(byte[], Algorithm) - Constructor for class com.casper.sdk.types.CLPublicKey
-
- CLPublicKey(String, Algorithm) - Constructor for class com.casper.sdk.types.CLPublicKey
-
- CLPublicKey(String) - Constructor for class com.casper.sdk.types.CLPublicKey
-
- CLPublicKey(byte[]) - Constructor for class com.casper.sdk.types.CLPublicKey
-
- CLType - Enum in com.casper.sdk.types
-
Type: enumeration over set of low level CL types.
- CLTypeInfo - Class in com.casper.sdk.types
-
The basic CL type info
- CLTypeInfo(CLType) - Constructor for class com.casper.sdk.types.CLTypeInfo
-
- CLTypeInfoSerializer - Class in com.casper.sdk.service.json.serialize
-
- CLTypeInfoSerializer() - Constructor for class com.casper.sdk.service.json.serialize.CLTypeInfoSerializer
-
- CLValue - Class in com.casper.sdk.types
-
Type: a value to be interpreted by node software.
- CLValue(String, CLTypeInfo, Object) - Constructor for class com.casper.sdk.types.CLValue
-
- CLValue(byte[], CLTypeInfo, Object) - Constructor for class com.casper.sdk.types.CLValue
-
- CLValue(byte[], CLType, Object) - Constructor for class com.casper.sdk.types.CLValue
-
- CLValue(byte[], CLTypeInfo) - Constructor for class com.casper.sdk.types.CLValue
-
- CLValue(byte[], CLType) - Constructor for class com.casper.sdk.types.CLValue
-
- CLValueBuilder - Class in com.casper.sdk.service.serialization.cltypes
-
Builder to help with programmatic conversion of value types.
- CLValueBuilder() - Constructor for class com.casper.sdk.service.serialization.cltypes.CLValueBuilder
-
- CLValueJsonDeserializer - Class in com.casper.sdk.service.json.deserialize
-
Deserializer for
CLValue type object
- CLValueJsonDeserializer() - Constructor for class com.casper.sdk.service.json.deserialize.CLValueJsonDeserializer
-
- CLValueJsonSerializer - Class in com.casper.sdk.service.json.serialize
-
Custom JSON serializer for
CLValue type objects
- CLValueJsonSerializer() - Constructor for class com.casper.sdk.service.json.serialize.CLValueJsonSerializer
-
- CollectionUtils - Class in com.casper.sdk.service.serialization.util
-
Provide Java 15 compatible collection methods to allow back porting and forward porting between JDKs
- CollectionUtils() - Constructor for class com.casper.sdk.service.serialization.util.CollectionUtils
-
- CollectionUtils.List - Class in com.casper.sdk.service.serialization.util
-
- CollectionUtils.Map - Class in com.casper.sdk.service.serialization.util
-
- CollectionUtils.Set - Class in com.casper.sdk.service.serialization.util
-
- com.casper.sdk - package com.casper.sdk
-
- com.casper.sdk.exceptions - package com.casper.sdk.exceptions
-
- com.casper.sdk.service.hash - package com.casper.sdk.service.hash
-
- com.casper.sdk.service.http.rpc - package com.casper.sdk.service.http.rpc
-
- com.casper.sdk.service.json - package com.casper.sdk.service.json
-
- com.casper.sdk.service.json.deserialize - package com.casper.sdk.service.json.deserialize
-
- com.casper.sdk.service.json.serialize - package com.casper.sdk.service.json.serialize
-
- com.casper.sdk.service.metrics - package com.casper.sdk.service.metrics
-
- com.casper.sdk.service.serialization.cltypes - package com.casper.sdk.service.serialization.cltypes
-
- com.casper.sdk.service.serialization.types - package com.casper.sdk.service.serialization.types
-
- com.casper.sdk.service.serialization.util - package com.casper.sdk.service.serialization.util
-
- com.casper.sdk.service.signing - package com.casper.sdk.service.signing
-
- com.casper.sdk.types - package com.casper.sdk.types
-
- concat(byte[]...) - Static method in class com.casper.sdk.service.serialization.util.ByteUtils
-
Joins multiple arrays into a new concatenated array
- Constants - Class in com.casper.sdk
-
- Constants() - Constructor for class com.casper.sdk.Constants
-
- containsKey(Object) - Method in class com.casper.sdk.types.CLMap
-
- containsValue(Object) - Method in class com.casper.sdk.types.CLMap
-
- CONTENT_TYPE - Static variable in class com.casper.sdk.service.http.rpc.HttpMethods
-
- ContractHash - Class in com.casper.sdk.types
-
- ContractHash(String) - Constructor for class com.casper.sdk.types.ContractHash
-
- ContractHash(byte[]) - Constructor for class com.casper.sdk.types.ContractHash
-
- ConversionException - Exception in com.casper.sdk.exceptions
-
- ConversionException(Throwable) - Constructor for exception com.casper.sdk.exceptions.ConversionException
-
- ConversionException(String) - Constructor for exception com.casper.sdk.exceptions.ConversionException
-
- ConversionException(String, Throwable) - Constructor for exception com.casper.sdk.exceptions.ConversionException
-
- convertFromDER(byte[]) - Method in interface com.casper.sdk.service.signing.KeyPairBuilder
-
- convertFromDER(byte[]) - Method in class com.casper.sdk.service.signing.Secp256k1KeyPairBuilder
-
Converts an DER ASN.1 signature to a P1363 Signature
- convertToDER(byte[]) - Method in interface com.casper.sdk.service.signing.KeyPairBuilder
-
- convertToDER(byte[]) - Method in class com.casper.sdk.service.signing.Secp256k1KeyPairBuilder
-
Converts a P1363 encoded signature to a DER ASN1 signature
- createPublicKey(String) - Method in class com.casper.sdk.CasperSdk
-
Creates a public key from a hex string where the first byte is the algorithm type and the following bytes the raw
public key bytes.
- createPublicKey(byte[]) - Method in interface com.casper.sdk.service.signing.KeyPairBuilder
-
Creates a public key from the provided raw bytes
- createPublicKey(byte[]) - Method in class com.casper.sdk.service.signing.Secp256k1KeyPairBuilder
-
- CURVE_NAME - Static variable in class com.casper.sdk.service.signing.Secp256k1KeyPairBuilder
-
- generateKeyPair(byte[]) - Method in interface com.casper.sdk.service.signing.KeyPairBuilder
-
Generates a new key pair
- generateKeyPair(byte[]) - Method in class com.casper.sdk.service.signing.Secp256k1KeyPairBuilder
-
- generateKeyPair(Algorithm) - Method in class com.casper.sdk.service.signing.SigningService
-
Generates a key pair for the specified algorithm.
- generateKeyPair(Algorithm, byte[]) - Method in class com.casper.sdk.service.signing.SigningService
-
Generates a key pair for the specified algorithm.
- genericCast(Object) - Static method in class com.casper.sdk.service.serialization.util.CollectionUtils
-
Utility method to suppress Java's stupid generics warnings
- get(Object) - Method in class com.casper.sdk.types.CLMap
-
- getAccessRights() - Method in class com.casper.sdk.types.URef
-
- getAccount() - Method in class com.casper.sdk.types.DeployHeader
-
- getAccountBalance(PublicKey) - Method in class com.casper.sdk.CasperSdk
-
Obtains the account balance at a certain global state root hash.
- getAccountBalance(String) - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
- getAccountHash(PublicKey) - Method in class com.casper.sdk.CasperSdk
-
Obtains the account public key hashed using BLAKE2_B_256 as a hex encode string
- getAccountHash(String) - Method in class com.casper.sdk.service.hash.HashService
-
Get the blake2b hash
- getAccountHash(byte[]) - Method in class com.casper.sdk.service.hash.HashService
-
Create a 32byte hashed array from the provided byte array
- getAccountInfo(PublicKey) - Method in class com.casper.sdk.CasperSdk
-
Obtains the account info JSON
- getAccountInfo(String) - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
- getAccountKey() - Method in class com.casper.sdk.types.DeployParams
-
- getAccountMainPurseURef(PublicKey) - Method in class com.casper.sdk.CasperSdk
-
Obtains an on-chain account's main purse unforgeable reference.
- getAccountMainPurseURef(String) - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
- getAlgorithm() - Method in interface com.casper.sdk.service.signing.KeyPairBuilder
-
The algorithm of the signer
- getAlgorithm() - Method in class com.casper.sdk.types.CLPublicKey
-
- getApprovals() - Method in class com.casper.sdk.types.Deploy
-
- getArgs() - Method in class com.casper.sdk.types.DeployExecutable
-
- getAuctionInfo() - Method in class com.casper.sdk.CasperSdk
-
- getAuctionInfo() - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
- getBits() - Method in enum com.casper.sdk.types.AccessRights
-
- getBlockInfo(Digest) - Method in class com.casper.sdk.CasperSdk
-
Obtains a block info by the block's hash
- getBlockInfo(Digest) - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
- getBlockInfoByHeight(Number) - Method in class com.casper.sdk.CasperSdk
-
Obtains a block info by the block's height
- getBlockInfoByHeight(Number) - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
- getBlockTransfers() - Method in class com.casper.sdk.CasperSdk
-
Returns on-chain block transfers information as JSON
- getBlockTransfers(String) - Method in class com.casper.sdk.CasperSdk
-
Returns on-chain block transfers information as JSON for a specific block hash
- getBlockTransfers() - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
Obtains the nodes chain block transfers
- getBlockTransfers(String) - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
Obtains the nodes chain block transfers
- getBodyHash() - Method in class com.casper.sdk.types.DeployHeader
-
- getBytes() - Method in class com.casper.sdk.types.CLKeyValue
-
Obtains the bytes including the key type prefix byte
- getBytes() - Method in class com.casper.sdk.types.CLPublicKey
-
- getBytes() - Method in class com.casper.sdk.types.CLValue
-
- getBytes() - Method in class com.casper.sdk.types.URef
-
- getByteSerializer(T) - Method in class com.casper.sdk.service.serialization.types.ByteSerializerFactory
-
- getByteSerializerByType(Class<T>) - Method in class com.casper.sdk.service.serialization.types.ByteSerializerFactory
-
- getChainName() - Method in class com.casper.sdk.types.DeployHeader
-
- getChainName() - Method in class com.casper.sdk.types.DeployParams
-
- getClType() - Method in enum com.casper.sdk.types.CLType
-
- getContractHash(PublicKey) - Method in class com.casper.sdk.CasperSdk
-
Obtains the contract has from the account info
- getDependencies() - Method in class com.casper.sdk.types.DeployHeader
-
- getDependencies() - Method in class com.casper.sdk.types.DeployParams
-
- getDeploy(Digest) - Method in class com.casper.sdk.CasperSdk
-
Obtains deploy from the network
- getDeploy(Digest) - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
- getEntryPoint() - Method in class com.casper.sdk.types.StoredContractByHash
-
- getEntryPoint() - Method in class com.casper.sdk.types.StoredContractByName
-
- getEraInfoBySwitchBlock() - Method in class com.casper.sdk.CasperSdk
-
Obtains the chain ero info by switch block as JSON
- getEraInfoBySwitchBlock() - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
Obtains the chain era info by switch block result as JSON
- getGasPrice() - Method in class com.casper.sdk.types.DeployHeader
-
- getGasPrice() - Method in class com.casper.sdk.types.DeployParams
-
- getHash(byte[]) - Method in class com.casper.sdk.service.hash.HashService
-
Create a 32byte hashed array from the provided byte array
- getHash() - Method in class com.casper.sdk.types.Deploy
-
- getHash() - Method in class com.casper.sdk.types.Digest
-
- getHash() - Method in class com.casper.sdk.types.StoredContractByHash
-
- getHeader() - Method in class com.casper.sdk.types.Deploy
-
- getId() - Method in class com.casper.sdk.service.http.rpc.Method
-
- getInnerType() - Method in class com.casper.sdk.types.CLOptionTypeInfo
-
- getInstance(CLType) - Method in class com.casper.sdk.service.serialization.cltypes.TypesFactory
-
- getJsonName() - Method in enum com.casper.sdk.types.CLType
-
Obtains the JSON name of the field.
- getJsonrpc() - Method in class com.casper.sdk.service.http.rpc.Method
-
- getKeyBytes() - Method in class com.casper.sdk.types.CLKeyValue
-
Obtains the bytes without the key type prefix
- getKeyPairBuilder(String) - Method in class com.casper.sdk.service.signing.KeyPairFactory
-
- getKeyPairBuilderForPublicKey(PublicKey) - Method in class com.casper.sdk.service.signing.KeyPairFactory
-
- getKeyType() - Method in class com.casper.sdk.types.CLKeyInfo
-
- getKeyType() - Method in class com.casper.sdk.types.CLKeyValue
-
- getKeyType() - Method in class com.casper.sdk.types.CLMap
-
- getKeyType() - Method in class com.casper.sdk.types.CLMapTypeInfo
-
- getLatestBlockInfo() - Method in class com.casper.sdk.CasperSdk
-
Obtains the latest block info from a mode
- getLatestBlockInfo() - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
- getMethod() - Method in class com.casper.sdk.service.http.rpc.Method
-
- getMetrics() - Method in class com.casper.sdk.service.metrics.MetricsService
-
- getModuleBytes() - Method in class com.casper.sdk.types.DeployExecutable
-
- getName() - Method in class com.casper.sdk.types.DeployNamedArg
-
- getName() - Method in class com.casper.sdk.types.StoredContractByName
-
- getNamedArg(String) - Method in class com.casper.sdk.types.DeployExecutable
-
- getNodeMetrics() - Method in class com.casper.sdk.CasperSdk
-
Obtains the node metrics as JSON
- getNodePeers() - Method in class com.casper.sdk.CasperSdk
-
- getNodePeers() - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
- getNodeStatus() - Method in class com.casper.sdk.CasperSdk
-
- getNodeStatus() - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
- getParams() - Method in class com.casper.sdk.service.http.rpc.Method
-
- getParsed() - Method in class com.casper.sdk.types.CLValue
-
- getParsedName() - Method in enum com.casper.sdk.types.CLKeyInfo.KeyType
-
- getPayment() - Method in class com.casper.sdk.types.Deploy
-
- getPublicKeyBytes(PublicKey) - Method in class com.casper.sdk.CasperSdk
-
Obtains the bytes of a public key in casper format with the first byte being the algorithm type identifier
value.
- getPublicKeyRawBytes(PublicKey) - Method in interface com.casper.sdk.service.signing.KeyPairBuilder
-
Obtains the raw bytes from a public key so can be used in casper types
- getRpcSchema() - Method in class com.casper.sdk.CasperSdk
-
Obtain the RPC Schema as a JSON string
- getRpcSchema() - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
Obtain the RPC Schema
- getSession() - Method in class com.casper.sdk.types.Deploy
-
- getSignature() - Method in class com.casper.sdk.types.DeployApproval
-
- getSigner() - Method in class com.casper.sdk.types.DeployApproval
-
- getSize() - Method in class com.casper.sdk.types.CLByteArrayInfo
-
- getStateRootHash() - Method in class com.casper.sdk.CasperSdk
-
Returns a root hash of global state
- getStateRootHash() - Method in class com.casper.sdk.service.http.rpc.NodeClient
-
- getTag() - Method in enum com.casper.sdk.types.CLKeyInfo.KeyType
-
- getTag() - Method in class com.casper.sdk.types.CLPublicKey
-
- getTag() - Method in interface com.casper.sdk.types.HasTag
-
Obtains the byte tag for this type of casper object
- getTag() - Method in class com.casper.sdk.types.ModuleBytes
-
- getTag() - Method in class com.casper.sdk.types.StoredContractByHash
-
- getTag() - Method in class com.casper.sdk.types.StoredContractByName
-
- getTag() - Method in class com.casper.sdk.types.StoredVersionedContractByHash
-
- getTag() - Method in class com.casper.sdk.types.StoredVersionedContractByName
-
- getTag() - Method in class com.casper.sdk.types.Transfer
-
- getTag() - Method in class com.casper.sdk.types.URef
-
- getTimestamp() - Method in class com.casper.sdk.types.DeployHeader
-
- getTimestamp() - Method in class com.casper.sdk.types.DeployParams
-
- getTimeStampIso() - Method in class com.casper.sdk.types.DeployHeader
-
Obtains the timestamp as an ISO string for writing to JSON
- getTtl() - Method in class com.casper.sdk.types.DeployHeader
-
- getTtl() - Method in class com.casper.sdk.types.DeployParams
-
- getTtlLong(String) - Static method in class com.casper.sdk.service.serialization.util.TtlUtils
-
Converts a duration string to a long ms value
- getTtlStr() - Method in class com.casper.sdk.types.DeployHeader
-
Obtains the ttl as a string for writing to JSON
- getType() - Method in interface com.casper.sdk.service.serialization.types.ByteSerializer
-
Obtains the type of the source to be serialized.
- getType() - Method in class com.casper.sdk.service.serialization.types.DeployApprovalByteSerializer
-
- getType() - Method in class com.casper.sdk.service.serialization.types.DeployNamedArgByteSerializer
-
- getType() - Method in class com.casper.sdk.service.serialization.types.PublicKeyByteSerializer
-
- getType() - Method in class com.casper.sdk.types.CLTypeInfo
-
- getValue() - Method in enum com.casper.sdk.types.Algorithm
-
- getValue() - Method in class com.casper.sdk.types.DeployNamedArg
-
- getValueBytes(CLKeyValue) - Method in class com.casper.sdk.service.json.serialize.CLKeyValueJsonSerializer
-
- getValueType() - Method in class com.casper.sdk.types.CLMap
-
- getValueType() - Method in class com.casper.sdk.types.CLMapTypeInfo
-
- getVersion() - Method in class com.casper.sdk.types.StoredVersionedContractByHash
-
- getVersion() - Method in class com.casper.sdk.types.StoredVersionedContractByName
-
- VALIDATOR - Static variable in class com.casper.sdk.Constants
-
- ValueNotFoundException - Exception in com.casper.sdk.exceptions
-
Custom exception to throw when json key not found
- ValueNotFoundException(String) - Constructor for exception com.casper.sdk.exceptions.ValueNotFoundException
-
- valueOf(String) - Static method in enum com.casper.sdk.service.http.rpc.MethodEnums
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.casper.sdk.types.AccessRights
-
Returns the enum constant of this type with the specified name.
- valueOf(Number) - Static method in enum com.casper.sdk.types.AccessRights
-
Obtains the AccessRight enum for the specified bits
- valueOf(String) - Static method in enum com.casper.sdk.types.Algorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.casper.sdk.types.CLKeyInfo.KeyType
-
Returns the enum constant of this type with the specified name.
- valueOf(byte) - Static method in enum com.casper.sdk.types.CLKeyInfo.KeyType
-
- valueOf(String) - Static method in enum com.casper.sdk.types.CLType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.casper.sdk.service.http.rpc.MethodEnums
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.casper.sdk.types.AccessRights
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.casper.sdk.types.Algorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.casper.sdk.types.CLKeyInfo.KeyType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Method in class com.casper.sdk.types.CLMap
-
- values() - Static method in enum com.casper.sdk.types.CLType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- verifySignature(PublicKey, byte[], byte[]) - Method in class com.casper.sdk.service.signing.SigningService
-
Verifies a signed message
- VERSION - Static variable in class com.casper.sdk.Constants
-