Name | Type | Description | Notes |
---|---|---|---|
Data | string | Data for smart contract interactions. | |
To | string | The address of an account. | |
Value | string | The value of native token transfered in this transaction in hexadecimal wei. | |
From | string | The address of an account. | |
ChainID | string | The unique identifier of a blockchain in CAIP-2 notation. | |
GasLimit | int32 | The CAIP-2 identifier for a blockchain. |
func NewTransactionRequest(data string, to string, value string, from string, chainID string, gasLimit int32, ) *TransactionRequest
NewTransactionRequest instantiates a new TransactionRequest 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
func NewTransactionRequestWithDefaults() *TransactionRequest
NewTransactionRequestWithDefaults instantiates a new TransactionRequest 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
func (o *TransactionRequest) GetData() string
GetData returns the Data field if non-nil, zero value otherwise.
func (o *TransactionRequest) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionRequest) SetData(v string)
SetData sets Data field to given value.
func (o *TransactionRequest) GetTo() string
GetTo returns the To field if non-nil, zero value otherwise.
func (o *TransactionRequest) 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.
func (o *TransactionRequest) SetTo(v string)
SetTo sets To field to given value.
func (o *TransactionRequest) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *TransactionRequest) 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.
func (o *TransactionRequest) SetValue(v string)
SetValue sets Value field to given value.
func (o *TransactionRequest) GetFrom() string
GetFrom returns the From field if non-nil, zero value otherwise.
func (o *TransactionRequest) GetFromOk() (*string, bool)
GetFromOk returns a tuple with the From field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionRequest) SetFrom(v string)
SetFrom sets From field to given value.
func (o *TransactionRequest) GetChainID() string
GetChainID returns the ChainID field if non-nil, zero value otherwise.
func (o *TransactionRequest) 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.
func (o *TransactionRequest) SetChainID(v string)
SetChainID sets ChainID field to given value.
func (o *TransactionRequest) GetGasLimit() int32
GetGasLimit returns the GasLimit field if non-nil, zero value otherwise.
func (o *TransactionRequest) GetGasLimitOk() (*int32, bool)
GetGasLimitOk returns a tuple with the GasLimit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TransactionRequest) SetGasLimit(v int32)
SetGasLimit sets GasLimit field to given value.