Class GetEntity
Inherited Members
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class GetEntity : RpcMethod
Constructors
| Edit this page View SourceGetEntity(IEntityIdentifier, IBlockIdentifier)
Returns an AddressableEntity from the network for a Block from the network
Declaration
public GetEntity(IEntityIdentifier entityIdentifier, IBlockIdentifier blockIdentifier = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IEntityIdentifier | entityIdentifier | A PublicKey, an AccoountHashKey, or an AddressableEntityKey |
| IBlockIdentifier | blockIdentifier | A a block identifier by hash or key. Null for the latest block |
GetEntity(string, IBlockIdentifier)
Returns an AddressableEntity from the network for a Block from the network
Declaration
public GetEntity(string addressableEntity, IBlockIdentifier blockIdentifier = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | addressableEntity | A string with an addressable entity key. |
| IBlockIdentifier | blockIdentifier | A a block identifier by hash or key. Null for the latest block |