Class: Aws::ManagedBlockchainQuery::Types::TransactionEvent

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-managedblockchainquery/types.rb

Overview

The container for the properties of a transaction event.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#blockchain_instantTypes::BlockchainInstant

The container for time.



1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#confirmation_statusString

This container specifies whether the transaction has reached Finality.

Returns:

  • (String)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#contract_addressString

The blockchain address for the contract

Returns:

  • (String)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#event_typeString

The type of transaction event.

Returns:

  • (String)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#fromString

The wallet address initiating the transaction. It can either be a public key or a contract.

Returns:

  • (String)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#networkString

The blockchain network where the transaction occurred.

Returns:

  • (String)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#spent_vout_indexInteger

The position of the spent transaction output in the output list of the *creating transaction*.

<note markdown=“1”> This is only returned for ‘BITCOIN_VIN` event types.

</note>

Returns:

  • (Integer)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#spent_vout_transaction_hashString

The transactionHash that created the spent transaction output.

<note markdown=“1”> This is only returned for ‘BITCOIN_VIN` event types.

</note>

Returns:

  • (String)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#spent_vout_transaction_idString

The transactionId that created the spent transaction output.

<note markdown=“1”> This is only returned for ‘BITCOIN_VIN` event types.

</note>

Returns:

  • (String)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#toString

The wallet address receiving the transaction. It can either be a public key or a contract.

Returns:

  • (String)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#token_idString

The unique identifier for the token involved in the transaction.

Returns:

  • (String)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#transaction_hashString

The hash of a transaction. It is generated when a transaction is created.

Returns:

  • (String)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#transaction_idString

The identifier of a Bitcoin transaction. It is generated when a transaction is created.

Returns:

  • (String)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The value that was transacted.

Returns:

  • (String)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#vout_indexInteger

The position of the transaction output in the transaction output list.

Returns:

  • (Integer)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end

#vout_spentBoolean

Specifies if the transaction output is spent or unspent. This is only returned for BITCOIN_VOUT event types.

<note markdown=“1”> This is only returned for ‘BITCOIN_VOUT` event types.

</note>

Returns:

  • (Boolean)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
# File 'lib/aws-sdk-managedblockchainquery/types.rb', line 1364

class TransactionEvent < Struct.new(
  :network,
  :transaction_hash,
  :event_type,
  :from,
  :to,
  :value,
  :contract_address,
  :token_id,
  :transaction_id,
  :vout_index,
  :vout_spent,
  :spent_vout_transaction_id,
  :spent_vout_transaction_hash,
  :spent_vout_index,
  :blockchain_instant,
  :confirmation_status)
  SENSITIVE = []
  include Aws::Structure
end