# Struct ethcore::action_params::ActionParams [−] [src]

    pub struct ActionParams {
        pub code_address: Address,
        pub code_hash: H256,
        pub address: Address,
        pub sender: Address,
        pub origin: Address,
        pub gas: U256,
        pub gas_price: U256,
        pub value: ActionValue,
        pub code: Option<Arc<Bytes>>,
        pub data: Option<Bytes>,
        pub call_type: CallType,
    }

Action (call/create) input params. Everything else should be specified in Externalities.

## Fields

`code_address: Address`

Address of currently executed code.

`code_hash: H256`

Hash of currently executed code.

`address: Address`

Receive address. Usually equal to code_address, except when called using CALLCODE.

`sender: Address`

Sender of current part of the transaction.

`origin: Address`

Transaction initiator.

`gas: U256`

Gas paid up front for transaction execution

`gas_price: U256`

Gas price.

`value: ActionValue`

Transaction value.

`code: Option<Arc<Bytes>>`

Code being executed.

`data: Option<Bytes>`

Input data.

`call_type: CallType`

Type of call

## Trait Implementations

### `impl Clone for ActionParams`
[src]

#### `fn clone(&self) -> ActionParams`

Returns a copy of the value. Read more

#### `fn clone_from(&mut self, source: &Self)`
1.0.0

Performs copy-assignment from `source`. Read more

### `impl Debug for ActionParams`
[src]

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`

Formats the value using the given formatter.

### `impl Default for ActionParams`
[src]

#### `fn default() -> ActionParams`

Returns default ActionParams initialized with zeros

### `impl From<Transaction> for ActionParams`
[src]

#### `fn from(t: Transaction) -> Self`

Performs the conversion.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)