Class TokenTransfer
Represents a token transfer (Token, Account, Amount)
Implements
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class TokenTransfer : IEquatable<TokenTransfer>
Constructors
| Improve this Doc View SourceTokenTransfer(Address, Address, Int64)
Public Constructor, an
TokenTransfer
is immutable after creation.
Declaration
public TokenTransfer(Address token, Address address, long amount)
Parameters
Type | Name | Description |
---|---|---|
Address | token | The Address of the Token who's coins have transferred. |
Address | address | The Address receiving or sending the token's coins. |
Int64 | amount | The (divisible) amount of coins transferred. Negative values indicate an outflow of coins to the positive
values indicate an inflow of coins from the associated .
|
Properties
| Improve this Doc View SourceAddress
The Address receiving or sending the token's coins.
Declaration
public Address Address { get; }
Property Value
Type | Description |
---|---|
Address |
Amount
The (divisible) amount of coins transferred. Negative values indicate an outflow of coins to the
Account
positive
values indicate an inflow of coins from the associated Account
.
Declaration
public long Amount { get; set; }
Property Value
Type | Description |
---|---|
Int64 |
Token
The Address of the Token who's coins have transferred.
Declaration
public Address Token { get; }
Property Value
Type | Description |
---|---|
Address |