C# Class Nethereum.Core.Transaction

Mostrar archivo Open project: Nethereum/Nethereum Class Usage Examples

Public Properties

Property Type Description
DEFAULT_GAS_PRICE System.Numerics.BigInteger
DEFFAULT_GAS_LIMIT System.Numerics.BigInteger

Public Methods

Method Description
GetRLPEncoded ( ) : byte[]
GetRLPEncodedRaw ( ) : byte[]
Sign ( ECKey key ) : void
ToJsonHex ( ) : string
Transaction ( byte rawData ) : System.Numerics
Transaction ( byte nonce, byte gasPrice, byte gasLimit, byte receiveAddress, byte value, byte data ) : System.Numerics
Transaction ( byte nonce, byte gasPrice, byte gasLimit, byte receiveAddress, byte value, byte data, byte r, byte s, byte v ) : System.Numerics
Transaction ( string to, System.Numerics.BigInteger amount, System.Numerics.BigInteger nonce ) : System.Numerics
Transaction ( string to, System.Numerics.BigInteger amount, System.Numerics.BigInteger nonce, System.Numerics.BigInteger gasPrice, System.Numerics.BigInteger gasLimit ) : System.Numerics
Transaction ( string to, System.Numerics.BigInteger amount, System.Numerics.BigInteger nonce, System.Numerics.BigInteger gasPrice, System.Numerics.BigInteger gasLimit, string data ) : System.Numerics
Transaction ( string to, System.Numerics.BigInteger amount, System.Numerics.BigInteger nonce, string data ) : System.Numerics

Private Methods

Method Description
GetElementsInOrder ( byte nonce, byte gasPrice, byte gasLimit, byte receiveAddress, byte value, byte data ) : byte[][]
ToHex ( byte x ) : string

Method Details

GetRLPEncoded() public method

public GetRLPEncoded ( ) : byte[]
return byte[]

GetRLPEncodedRaw() public method

public GetRLPEncodedRaw ( ) : byte[]
return byte[]

Sign() public method

public Sign ( ECKey key ) : void
key NBitcoin.Crypto.ECKey
return void

ToJsonHex() public method

public ToJsonHex ( ) : string
return string

Transaction() public method

public Transaction ( byte rawData ) : System.Numerics
rawData byte
return System.Numerics

Transaction() public method

public Transaction ( byte nonce, byte gasPrice, byte gasLimit, byte receiveAddress, byte value, byte data ) : System.Numerics
nonce byte
gasPrice byte
gasLimit byte
receiveAddress byte
value byte
data byte
return System.Numerics

Transaction() public method

public Transaction ( byte nonce, byte gasPrice, byte gasLimit, byte receiveAddress, byte value, byte data, byte r, byte s, byte v ) : System.Numerics
nonce byte
gasPrice byte
gasLimit byte
receiveAddress byte
value byte
data byte
r byte
s byte
v byte
return System.Numerics

Transaction() public method

public Transaction ( string to, System.Numerics.BigInteger amount, System.Numerics.BigInteger nonce ) : System.Numerics
to string
amount System.Numerics.BigInteger
nonce System.Numerics.BigInteger
return System.Numerics

Transaction() public method

public Transaction ( string to, System.Numerics.BigInteger amount, System.Numerics.BigInteger nonce, System.Numerics.BigInteger gasPrice, System.Numerics.BigInteger gasLimit ) : System.Numerics
to string
amount System.Numerics.BigInteger
nonce System.Numerics.BigInteger
gasPrice System.Numerics.BigInteger
gasLimit System.Numerics.BigInteger
return System.Numerics

Transaction() public method

public Transaction ( string to, System.Numerics.BigInteger amount, System.Numerics.BigInteger nonce, System.Numerics.BigInteger gasPrice, System.Numerics.BigInteger gasLimit, string data ) : System.Numerics
to string
amount System.Numerics.BigInteger
nonce System.Numerics.BigInteger
gasPrice System.Numerics.BigInteger
gasLimit System.Numerics.BigInteger
data string
return System.Numerics

Transaction() public method

public Transaction ( string to, System.Numerics.BigInteger amount, System.Numerics.BigInteger nonce, string data ) : System.Numerics
to string
amount System.Numerics.BigInteger
nonce System.Numerics.BigInteger
data string
return System.Numerics

Property Details

DEFAULT_GAS_PRICE public_oe static_oe property

public static BigInteger,System.Numerics DEFAULT_GAS_PRICE
return System.Numerics.BigInteger

DEFFAULT_GAS_LIMIT public_oe static_oe property

public static BigInteger,System.Numerics DEFFAULT_GAS_LIMIT
return System.Numerics.BigInteger