Splice.Wallet.BuyTrafficRequest
Templates
template BuyTrafficRequest
A request by an end-user to the wallet’s automation to buy traffic for a sequencer member
Signatory: endUserParty
Field
Type
Description
dso
endUserParty
expiresAt
Buy the traffic before this time.
trackingId
Used to deduplicate requests
trafficAmount
memberId
synchronizerId
migrationId
Choice Archive
Controller: endUserParty
Returns: ()
(no fields)
Choice BuyTrafficRequest_Cancel
Controller: endUserParty
Returns: BuyTrafficRequest_CancelResult
Field
Type
Description
reason
Choice BuyTrafficRequest_Complete
Controller: endUserParty, walletProvider
Returns: BuyTrafficRequest_CompleteResult
Field
Type
Description
inputs
[TransferInput]
context
PaymentTransferContext
walletProvider
Choice BuyTrafficRequest_Expire
Controller: endUserParty
Returns: BuyTrafficRequest_ExpireResult
(no fields)
Data Types
data BuyTrafficRequestTrackingInfo
instance Eq BuyTrafficRequestTrackingInfo
instance Show BuyTrafficRequestTrackingInfo
instance GetField "endUserParty" BuyTrafficRequestTrackingInfo Party
instance GetField "trackingId" BuyTrafficRequestTrackingInfo Text
instance GetField "trackingInfo" BuyTrafficRequest_CancelResult BuyTrafficRequestTrackingInfo
instance GetField "trackingInfo" BuyTrafficRequest_CompleteResult BuyTrafficRequestTrackingInfo
instance GetField "trackingInfo" BuyTrafficRequest_ExpireResult BuyTrafficRequestTrackingInfo
instance GetField "trackingInfo" WalletAppInstall_BuyTrafficRequest_CancelResult BuyTrafficRequestTrackingInfo
instance GetField "trackingInfo" WalletAppInstall_BuyTrafficRequest_ExpireResult BuyTrafficRequestTrackingInfo
instance SetField "endUserParty" BuyTrafficRequestTrackingInfo Party
instance SetField "trackingId" BuyTrafficRequestTrackingInfo Text
instance SetField "trackingInfo" BuyTrafficRequest_CancelResult BuyTrafficRequestTrackingInfo
instance SetField "trackingInfo" BuyTrafficRequest_CompleteResult BuyTrafficRequestTrackingInfo
instance SetField "trackingInfo" BuyTrafficRequest_ExpireResult BuyTrafficRequestTrackingInfo
instance SetField "trackingInfo" WalletAppInstall_BuyTrafficRequest_CancelResult BuyTrafficRequestTrackingInfo
instance SetField "trackingInfo" WalletAppInstall_BuyTrafficRequest_ExpireResult BuyTrafficRequestTrackingInfo
data BuyTrafficRequest_CancelResult
BuyTrafficRequest_CancelResult
Field
Type
Description
trackingInfo
instance GetField "trackingInfo" BuyTrafficRequest_CancelResult BuyTrafficRequestTrackingInfo
instance SetField "trackingInfo" BuyTrafficRequest_CancelResult BuyTrafficRequestTrackingInfo
instance HasExercise BuyTrafficRequest BuyTrafficRequest_Cancel BuyTrafficRequest_CancelResult
instance HasFromAnyChoice BuyTrafficRequest BuyTrafficRequest_Cancel BuyTrafficRequest_CancelResult
instance HasToAnyChoice BuyTrafficRequest BuyTrafficRequest_Cancel BuyTrafficRequest_CancelResult
data BuyTrafficRequest_CompleteResult
BuyTrafficRequest_CompleteResult
Field
Type
Description
purchasedTraffic
ContractId MemberTraffic
trackingInfo
senderChangeAmulet
Optional (ContractId Amulet)
instance GetField "purchasedTraffic" BuyTrafficRequest_CompleteResult (ContractId MemberTraffic)
instance GetField "senderChangeAmulet" BuyTrafficRequest_CompleteResult (Optional (ContractId Amulet))
instance GetField "trackingInfo" BuyTrafficRequest_CompleteResult BuyTrafficRequestTrackingInfo
instance SetField "purchasedTraffic" BuyTrafficRequest_CompleteResult (ContractId MemberTraffic)
instance SetField "senderChangeAmulet" BuyTrafficRequest_CompleteResult (Optional (ContractId Amulet))
instance SetField "trackingInfo" BuyTrafficRequest_CompleteResult BuyTrafficRequestTrackingInfo
instance HasExercise BuyTrafficRequest BuyTrafficRequest_Complete BuyTrafficRequest_CompleteResult
instance HasFromAnyChoice BuyTrafficRequest BuyTrafficRequest_Complete BuyTrafficRequest_CompleteResult
instance HasToAnyChoice BuyTrafficRequest BuyTrafficRequest_Complete BuyTrafficRequest_CompleteResult
data BuyTrafficRequest_ExpireResult
BuyTrafficRequest_ExpireResult
Field
Type
Description
trackingInfo
instance GetField "trackingInfo" BuyTrafficRequest_ExpireResult BuyTrafficRequestTrackingInfo
instance SetField "trackingInfo" BuyTrafficRequest_ExpireResult BuyTrafficRequestTrackingInfo
instance HasExercise BuyTrafficRequest BuyTrafficRequest_Expire BuyTrafficRequest_ExpireResult
instance HasFromAnyChoice BuyTrafficRequest BuyTrafficRequest_Expire BuyTrafficRequest_ExpireResult
instance HasToAnyChoice BuyTrafficRequest BuyTrafficRequest_Expire BuyTrafficRequest_ExpireResult