Skip to main content

Function Signature

Description

Requests fees and crypto amount estimates for a payout on a given channel. Include formJson when the channel requires recipient data — fetch its schema with getPayoutChannelForm or read the inline formSchema on the channel. Set exactly one of fiatAmount or cryptoAmount. The SDK checks this in Dart before calling the native SDK and throws a PortalException with code INVALID_PAYOUT_QUOTE_AMOUNT if you pass both or neither. The returned payoutId feeds into initiatePayout.

Parameters

Returns

NoahGetPayoutQuoteResponse - An envelope containing: NoahGetPayoutQuoteData:

Example

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

Errors