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

Party

endUserParty

Party

expiresAt

Time

Buy the traffic before this time.

trackingId

Text

Used to deduplicate requests

trafficAmount

Int

memberId

Text

synchronizerId

Text

migrationId

Int

Data Types

data BuyTrafficRequestTrackingInfo

BuyTrafficRequestTrackingInfo

Field

Type

Description

trackingId

Text

used to deduplicate requests and query for the status

endUserParty

Party

used in UserWalletTxLogParser’s filterByParty

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

data BuyTrafficRequest_CompleteResult

BuyTrafficRequest_CompleteResult

Field

Type

Description

purchasedTraffic

ContractId MemberTraffic

trackingInfo

BuyTrafficRequestTrackingInfo

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