@usdctofiat/offramp
@usdctofiat/offramp / isPeerExtensionRegistrationError
Function: isPeerExtensionRegistrationError()
isPeerExtensionRegistrationError(
platform,message?,statusCode?):boolean
Defined in: packages/offramp-sdk/src/platforms.ts:781
True when a failed /v2/makers/create response should be treated as
"maker needs to register in the Peer extension first". Platforms without
an extensionRegistration config always return false. A 400 on a
registration-required platform is treated as registration required, and
so is any response whose message contains curator's phrasing.
Parameters
platform
string
message?
string | null
statusCode?
number | null
Returns
boolean