Class: Privy::Models::TransactionProviderErrorWebhookPayload

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/privy/models/transaction_provider_error_webhook_payload.rb

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(caip2:, transaction_hash:, transaction_id:, type:, wallet_id:, reference_id: nil) ⇒ Object

Some parameter documentations has been truncated, see Privy::Models::TransactionProviderErrorWebhookPayload for more details.

Payload for the transaction.provider_error webhook event.

Parameters:

  • caip2 (String)

    The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).

  • transaction_hash (String)

    The blockchain transaction hash.

  • transaction_id (String)

    The Privy-assigned ID for this transaction.

  • type (Symbol, Privy::Models::TransactionProviderErrorWebhookPayload::Type)

    The type of webhook event.

  • wallet_id (String)

    The ID of the wallet that initiated the transaction.

  • reference_id (String, nil) (defaults to: nil)

    Developer-provided reference ID for transaction reconciliation, if one was provi



# File 'lib/privy/models/transaction_provider_error_webhook_payload.rb', line 43

Instance Attribute Details

#caip2String

The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).

Returns:

  • (String)


10
# File 'lib/privy/models/transaction_provider_error_webhook_payload.rb', line 10

required :caip2, String

#reference_idString?

Developer-provided reference ID for transaction reconciliation, if one was provided.

Returns:

  • (String, nil)


41
# File 'lib/privy/models/transaction_provider_error_webhook_payload.rb', line 41

optional :reference_id, String, nil?: true

#transaction_hashString

The blockchain transaction hash.

Returns:

  • (String)


16
# File 'lib/privy/models/transaction_provider_error_webhook_payload.rb', line 16

required :transaction_hash, String

#transaction_idString

The Privy-assigned ID for this transaction.

Returns:

  • (String)


22
# File 'lib/privy/models/transaction_provider_error_webhook_payload.rb', line 22

required :transaction_id, String

#typeSymbol, Privy::Models::TransactionProviderErrorWebhookPayload::Type

The type of webhook event.



28
# File 'lib/privy/models/transaction_provider_error_webhook_payload.rb', line 28

required :type, enum: -> { Privy::TransactionProviderErrorWebhookPayload::Type }

#wallet_idString

The ID of the wallet that initiated the transaction.

Returns:

  • (String)


34
# File 'lib/privy/models/transaction_provider_error_webhook_payload.rb', line 34

required :wallet_id, String