Skip to content

Latest commit

 

History

History
22 lines (10 loc) · 1.06 KB

OfferResponseTransferAccept.md

File metadata and controls

22 lines (10 loc) · 1.06 KB

OfferResponseTransferAccept

Accept an inbound 2-step transfer offer. Carries no arguments.

Properties

Name Type Description Notes
responseType ResponseTypeEnum How you are answering the offer. Must be one of the values listed in the transaction's `cantonDetails.offerResponse.availableResponses` — TOP-LEVEL on the transaction, not nested under an `additionalInfo` envelope, which does not exist on `TransactionResponse`. `availableResponses` states what this offer TYPE accepts. It is set when the offer arrives and does not change, so it does NOT tell you whether the offer is still answerable — check `expiresAt` and the transaction's status for that, and expect this endpoint to be the authority: it re-checks state and expiry on every call and answers 409 when either has moved.

Enum: ResponseTypeEnum

Name Value
TRANSFER_ACCEPT "TRANSFER_ACCEPT"