circle-check
Our docs are AI-ready. Use them as context for any AI, or ask questions via the search bar.

head-side-gearObtener escrows por rol

Devuelve toda la información de un escrow solicitada por medio del rol.

Encabezados

Nombre
Valor

Content-Type

application/json

x-api-key

<token>

Open API

get
Autorizaciones
Parámetros de consulta
signerstringOpcional

Address of the user who signed the transaction to create escrow

Example: GXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
rolestringOpcional

Role in escrow

Example: approver
roleAddressstringOpcional

Address of the user in the specified role

Example: GXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
statusstringOpcional

Status of the escrow

Example: pending
typestring · enumOpcional

Type of the escrow

Example: single_release | multi_releaseValores posibles:
engagementIdstringOpcional

Engagement ID of the escrow

Example: ENG-001
titlestringOpcional

Title of the escrow

Example: Website redesign
isActivebooleanOpcional

Is the escrow active

validateOnChainbooleanOpcional

When set to true, the endpoint will verify each escrow’s data against the blockchain to ensure accuracy and integrity. Enabling this adds an extra security layer but may increase the response time slightly due to the additional validation step

startDatestringOpcional

Starting date range for filtering

Example: 2023-06-20 (YYYY-MM-DD)
minAmountnumberOpcional

Minimum amount for filtering

Example: 100
maxAmountnumberOpcional

Maximum amount for filtering

Example: 1000
orderBystring · enumOpcional

Field to order the results by

Default: createdAtExample: createdAt | updatedAt | amountValores posibles:
orderDirectionstring · enumOpcional

Direction to order the results

Default: descExample: asc | descValores posibles:
pagenumberOpcional

Page number for pagination

Example: 1
pageSizenumberOpcional

Number of items per page

Default: 8Example: 8
contractIDstringOpcional

Contract Id of the deployed escrow

Example: CBHEQBV...
endDatestringOpcional

Ending date range for filtering

Example: 2023-06-22 (YYYY-MM-DD)
Respuestas
get
/helper/get-escrows-by-role

Ejemplo de uso:

Última actualización

¿Te fue útil?