Class TransferV1
Represents a transfer from one purse to another
Inherited Members
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class TransferV1
Properties
| Edit this page View SourceAmount
Transfer amount
Declaration
[JsonPropertyName("amount")]
[JsonConverter(typeof(BigIntegerConverter))]
public BigInteger Amount { get; init; }
Property Value
| Type | Description |
|---|---|
| BigInteger |
DeployHash
Deploy that created the transfer
Declaration
[JsonPropertyName("deploy_hash")]
public string DeployHash { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
From
Account hash from which transfer was executed
Declaration
[JsonPropertyName("from")]
[JsonConverter(typeof(GlobalStateKey.GlobalStateKeyConverter))]
public AccountHashKey From { get; init; }
Property Value
| Type | Description |
|---|---|
| AccountHashKey |
Gas
Gas
Declaration
[JsonPropertyName("gas")]
[JsonConverter(typeof(BigIntegerConverter))]
public BigInteger Gas { get; init; }
Property Value
| Type | Description |
|---|---|
| BigInteger |
Id
User-defined id
Declaration
[JsonPropertyName("id")]
public ulong? Id { get; init; }
Property Value
| Type | Description |
|---|---|
| ulong? |
Source
Source purse
Declaration
[JsonPropertyName("source")]
[JsonConverter(typeof(GlobalStateKey.GlobalStateKeyConverter))]
public URef Source { get; init; }
Property Value
| Type | Description |
|---|---|
| URef |
Target
Target purse
Declaration
[JsonPropertyName("target")]
[JsonConverter(typeof(GlobalStateKey.GlobalStateKeyConverter))]
public URef Target { get; init; }
Property Value
| Type | Description |
|---|---|
| URef |
To
Account to which funds are transferred
Declaration
[JsonPropertyName("to")]
[JsonConverter(typeof(GlobalStateKey.GlobalStateKeyConverter))]
public AccountHashKey To { get; init; }
Property Value
| Type | Description |
|---|---|
| AccountHashKey |