CasperSdk
Casper SDK main class
- Value parameters:
- url
: RPC endpoint URL
Value members
Concrete methods
getBlockTransfers
getBlockTransfers
- Value parameters:
- blockHash
: Block Hash
- Returns:
: List of TransferResult within a Block
def getDictionaryItem(stateRootHash: String, itemKey: String, uref: String): Try[DictionaryItemResult]
getDictionaryItem
getDictionaryItem
- Value parameters:
- itemKey
: dictionary Item Key
- stateRootHash
: State Root Hash
- uref
: seed Uref
- Returns:
DictionaryItemResult
getEraInfoBySwitchBlock
getEraInfoBySwitchBlock
- Value parameters:
- blockHash
: Switch block Hash
- Returns:
: EraSummaryResult
Retrieves a state root hash at a given block
Retrieves a state root hash at a given block
- Returns:
StateRootHashResult
def queryGlobalState(stateIdentifier: StateIdentifier, key: String, path: Seq[Json]): Try[GlobalStateResult]
query_global_state
query_global_state
- Returns:
: GlobalStateResult
Inherited methods
non blocking RPC call
non blocking RPC call
- Type parameters:
- T
: Casper type
- Value parameters:
- method
: rpc method
- params
: parameters
- Returns:
Try[T]
- Inherited from:
- RPCCommand
exctract Try[T] from Option[RPCResult[T]
exctract Try[T] from Option[RPCResult[T]
- Returns:
Try[T]
- Inherited from:
- RPCCommand