Class: Aws::ManagedBlockchainQuery::Types::Transaction
- Inherits:
-
Struct
- Object
- Struct
- Aws::ManagedBlockchainQuery::Types::Transaction
- Defined in:
- gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb
Overview
There are two possible types of transactions used for this data type:
A Bitcoin transaction is a movement of BTC from one address to another.
An Ethereum transaction refers to an action initiated by an externally owned account, which is an account managed by a human, not a contract. For example, if Bob sends Alice 1 ETH, Bob's account must be debited and Alice's must be credited. This state-changing action occurs within a transaction.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#block_hash ⇒ String
The block hash is a unique identifier for a block.
-
#block_number ⇒ String
The block number in which the transaction is recorded.
-
#confirmation_status ⇒ String
Specifies whether the transaction has reached Finality.
-
#contract_address ⇒ String
The blockchain address for the contract.
-
#cumulative_gas_used ⇒ String
The amount of gas used up to the specified point in the block.
-
#effective_gas_price ⇒ String
The effective gas price.
-
#execution_status ⇒ String
Identifies whether the transaction has succeeded or failed.
-
#from ⇒ String
The initiator of the transaction.
-
#gas_used ⇒ String
The amount of gas used for the transaction.
-
#network ⇒ String
The blockchain network where the transaction occurred.
-
#number_of_transactions ⇒ Integer
The number of transactions in the block.
-
#signature_r ⇒ String
The signature of the transaction.
-
#signature_s ⇒ String
The signature of the transaction.
-
#signature_v ⇒ Integer
The signature of the transaction.
-
#to ⇒ String
The identifier of the transaction.
-
#transaction_fee ⇒ String
The transaction fee.
-
#transaction_hash ⇒ String
The hash of a transaction.
-
#transaction_id ⇒ String
The identifier of a Bitcoin transaction.
-
#transaction_index ⇒ Integer
The index of the transaction within a blockchain.
-
#transaction_timestamp ⇒ Time
The
Timestamp
of the transaction.
Instance Attribute Details
#block_hash ⇒ String
The block hash is a unique identifier for a block. It is a fixed-size string that is calculated by using the information in the block. The block hash is used to verify the integrity of the data in the block.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#block_number ⇒ String
The block number in which the transaction is recorded.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#confirmation_status ⇒ String
Specifies whether the transaction has reached Finality.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#contract_address ⇒ String
The blockchain address for the contract.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#cumulative_gas_used ⇒ String
The amount of gas used up to the specified point in the block.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#effective_gas_price ⇒ String
The effective gas price.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#execution_status ⇒ String
Identifies whether the transaction has succeeded or failed.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#from ⇒ String
The initiator of the transaction. It is either in the form a public key or a contract address.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#gas_used ⇒ String
The amount of gas used for the transaction.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#network ⇒ String
The blockchain network where the transaction occurred.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#number_of_transactions ⇒ Integer
The number of transactions in the block.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#signature_r ⇒ String
The signature of the transaction. The X coordinate of a point R.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#signature_s ⇒ String
The signature of the transaction. The Y coordinate of a point S.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#signature_v ⇒ Integer
The signature of the transaction. The Z coordinate of a point V.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#to ⇒ String
The identifier of the transaction. It is generated whenever a transaction is verified and added to the blockchain.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#transaction_fee ⇒ String
The transaction fee.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#transaction_hash ⇒ String
The hash of a transaction. It is generated when a transaction is created.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#transaction_id ⇒ String
The identifier of a Bitcoin transaction. It is generated when a transaction is created.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#transaction_index ⇒ Integer
The index of the transaction within a blockchain.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |
#transaction_timestamp ⇒ Time
The Timestamp
of the transaction.
1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/types.rb', line 1247 class Transaction < Struct.new( :network, :block_hash, :transaction_hash, :block_number, :transaction_timestamp, :transaction_index, :number_of_transactions, :to, :from, :contract_address, :gas_used, :cumulative_gas_used, :effective_gas_price, :signature_v, :signature_r, :signature_s, :transaction_fee, :transaction_id, :confirmation_status, :execution_status) SENSITIVE = [] include Aws::Structure end |