Skip to main content

Function Signature

NoahGetPayoutQuoteRequest has two initializers. Choosing one selects whether the quote is denominated in fiat or crypto — passing both amounts, or neither, will not compile.

Description

Requests fees and crypto amount estimates for a payout on a given channel. Include form when the channel requires recipient data — fetch its schema with getPayoutChannelForm or read the inline formSchema on the channel. The returned payoutId and formSessionId feed into initiatePayout.

Parameters

Returns

NoahGetPayoutQuoteResponse — an envelope containing: NoahGetPayoutQuoteData:

Example

Request a rate-locked quote when the payout will use a .quoted trigger:

Errors