Desplegar
Despliega el contrato de escrow y define las propiedades del escrow.
Encabezados
Hito
Roles:
Línea de confianza:
Inicializar Escrow
Entity that signs the transaction that deploys and initializes the escrow
GABC...XYZUnique identifier for the escrow
ENG12345Name of the escrow
Escrow TestText describing the function of the escrow
Escrow Test descriptionRoles that make up the escrow structure
Commission that the platform will receive when the escrow is completed
5Objectives to be completed to define the escrow as completed. (In this case it is not necessary to send the properties “approvedFlag” and “status” inside the objects of these milestones)
Information on the trustline that will manage the movement of funds in escrow
This endpoint returns an unsigned transaction in XDR format. This XDR is then used to sign the transaction using the “/helper/send-transaction” endpoint.
Bad request
Unauthorized access
Too Many Requests
Possible errors:
- Escrow already initialized
- The platform fee cannot exceed 99%
- Escrow initialized without milestone
- Cannot define more than 50 milestones in an escrow
- Amount cannot be zero
- All flags (approved, disputed, released) must be false in order to execute this function
- An unexpected error occurred

¿Qué devuelve este Endpoint?
Ejemplo de uso:
Última actualización
¿Te fue útil?