Skip to content

Latest commit

 

History

History
394 lines (213 loc) · 9.77 KB

Transaction.md

File metadata and controls

394 lines (213 loc) · 9.77 KB

Transaction

Properties

Name Type Description Notes
Type string A hex string.
Nonce string A hex string.
GasPrice Pointer to NullableString A hex string or null. [optional]
MaxFeePerGas Pointer to NullableString A hex string or null. [optional]
MaxPriorityFeePerGas Pointer to NullableString A hex string or null. [optional]
Gas string A hex string.
To NullableString An ethereum address.
Value NullableString A hex string or null.
Input string A hex string.
V string A hex string.
R string A hex string.
S string A hex string.
ChainId Pointer to string A hex string. [optional]
Hash string The keccak256 hash as a hex string of 256 bits.

Methods

NewTransaction

func NewTransaction(type_ string, nonce string, gas string, to NullableString, value NullableString, input string, v string, r string, s string, hash string, ) *Transaction

NewTransaction instantiates a new Transaction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewTransactionWithDefaults

func NewTransactionWithDefaults() *Transaction

NewTransactionWithDefaults instantiates a new Transaction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetType

func (o *Transaction) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *Transaction) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *Transaction) SetType(v string)

SetType sets Type field to given value.

GetNonce

func (o *Transaction) GetNonce() string

GetNonce returns the Nonce field if non-nil, zero value otherwise.

GetNonceOk

func (o *Transaction) GetNonceOk() (*string, bool)

GetNonceOk returns a tuple with the Nonce field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNonce

func (o *Transaction) SetNonce(v string)

SetNonce sets Nonce field to given value.

GetGasPrice

func (o *Transaction) GetGasPrice() string

GetGasPrice returns the GasPrice field if non-nil, zero value otherwise.

GetGasPriceOk

func (o *Transaction) GetGasPriceOk() (*string, bool)

GetGasPriceOk returns a tuple with the GasPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGasPrice

func (o *Transaction) SetGasPrice(v string)

SetGasPrice sets GasPrice field to given value.

HasGasPrice

func (o *Transaction) HasGasPrice() bool

HasGasPrice returns a boolean if a field has been set.

SetGasPriceNil

func (o *Transaction) SetGasPriceNil(b bool)

SetGasPriceNil sets the value for GasPrice to be an explicit nil

UnsetGasPrice

func (o *Transaction) UnsetGasPrice()

UnsetGasPrice ensures that no value is present for GasPrice, not even an explicit nil

GetMaxFeePerGas

func (o *Transaction) GetMaxFeePerGas() string

GetMaxFeePerGas returns the MaxFeePerGas field if non-nil, zero value otherwise.

GetMaxFeePerGasOk

func (o *Transaction) GetMaxFeePerGasOk() (*string, bool)

GetMaxFeePerGasOk returns a tuple with the MaxFeePerGas field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaxFeePerGas

func (o *Transaction) SetMaxFeePerGas(v string)

SetMaxFeePerGas sets MaxFeePerGas field to given value.

HasMaxFeePerGas

func (o *Transaction) HasMaxFeePerGas() bool

HasMaxFeePerGas returns a boolean if a field has been set.

SetMaxFeePerGasNil

func (o *Transaction) SetMaxFeePerGasNil(b bool)

SetMaxFeePerGasNil sets the value for MaxFeePerGas to be an explicit nil

UnsetMaxFeePerGas

func (o *Transaction) UnsetMaxFeePerGas()

UnsetMaxFeePerGas ensures that no value is present for MaxFeePerGas, not even an explicit nil

GetMaxPriorityFeePerGas

func (o *Transaction) GetMaxPriorityFeePerGas() string

GetMaxPriorityFeePerGas returns the MaxPriorityFeePerGas field if non-nil, zero value otherwise.

GetMaxPriorityFeePerGasOk

func (o *Transaction) GetMaxPriorityFeePerGasOk() (*string, bool)

GetMaxPriorityFeePerGasOk returns a tuple with the MaxPriorityFeePerGas field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaxPriorityFeePerGas

func (o *Transaction) SetMaxPriorityFeePerGas(v string)

SetMaxPriorityFeePerGas sets MaxPriorityFeePerGas field to given value.

HasMaxPriorityFeePerGas

func (o *Transaction) HasMaxPriorityFeePerGas() bool

HasMaxPriorityFeePerGas returns a boolean if a field has been set.

SetMaxPriorityFeePerGasNil

func (o *Transaction) SetMaxPriorityFeePerGasNil(b bool)

SetMaxPriorityFeePerGasNil sets the value for MaxPriorityFeePerGas to be an explicit nil

UnsetMaxPriorityFeePerGas

func (o *Transaction) UnsetMaxPriorityFeePerGas()

UnsetMaxPriorityFeePerGas ensures that no value is present for MaxPriorityFeePerGas, not even an explicit nil

GetGas

func (o *Transaction) GetGas() string

GetGas returns the Gas field if non-nil, zero value otherwise.

GetGasOk

func (o *Transaction) GetGasOk() (*string, bool)

GetGasOk returns a tuple with the Gas field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGas

func (o *Transaction) SetGas(v string)

SetGas sets Gas field to given value.

GetTo

func (o *Transaction) GetTo() string

GetTo returns the To field if non-nil, zero value otherwise.

GetToOk

func (o *Transaction) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTo

func (o *Transaction) SetTo(v string)

SetTo sets To field to given value.

SetToNil

func (o *Transaction) SetToNil(b bool)

SetToNil sets the value for To to be an explicit nil

UnsetTo

func (o *Transaction) UnsetTo()

UnsetTo ensures that no value is present for To, not even an explicit nil

GetValue

func (o *Transaction) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

func (o *Transaction) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetValue

func (o *Transaction) SetValue(v string)

SetValue sets Value field to given value.

SetValueNil

func (o *Transaction) SetValueNil(b bool)

SetValueNil sets the value for Value to be an explicit nil

UnsetValue

func (o *Transaction) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil

GetInput

func (o *Transaction) GetInput() string

GetInput returns the Input field if non-nil, zero value otherwise.

GetInputOk

func (o *Transaction) GetInputOk() (*string, bool)

GetInputOk returns a tuple with the Input field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInput

func (o *Transaction) SetInput(v string)

SetInput sets Input field to given value.

GetV

func (o *Transaction) GetV() string

GetV returns the V field if non-nil, zero value otherwise.

GetVOk

func (o *Transaction) GetVOk() (*string, bool)

GetVOk returns a tuple with the V field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetV

func (o *Transaction) SetV(v string)

SetV sets V field to given value.

GetR

func (o *Transaction) GetR() string

GetR returns the R field if non-nil, zero value otherwise.

GetROk

func (o *Transaction) GetROk() (*string, bool)

GetROk returns a tuple with the R field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetR

func (o *Transaction) SetR(v string)

SetR sets R field to given value.

GetS

func (o *Transaction) GetS() string

GetS returns the S field if non-nil, zero value otherwise.

GetSOk

func (o *Transaction) GetSOk() (*string, bool)

GetSOk returns a tuple with the S field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetS

func (o *Transaction) SetS(v string)

SetS sets S field to given value.

GetChainId

func (o *Transaction) GetChainId() string

GetChainId returns the ChainId field if non-nil, zero value otherwise.

GetChainIdOk

func (o *Transaction) GetChainIdOk() (*string, bool)

GetChainIdOk returns a tuple with the ChainId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetChainId

func (o *Transaction) SetChainId(v string)

SetChainId sets ChainId field to given value.

HasChainId

func (o *Transaction) HasChainId() bool

HasChainId returns a boolean if a field has been set.

GetHash

func (o *Transaction) GetHash() string

GetHash returns the Hash field if non-nil, zero value otherwise.

GetHashOk

func (o *Transaction) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHash

func (o *Transaction) SetHash(v string)

SetHash sets Hash field to given value.

[Back to Model list] [Back to API list] [Back to README]