Skip to content

Read functions ​

getEscrow ​

solidity
function getEscrow(uint256 id)
    external
    view
    returns (Escrow memory)

Returns client, freelancer, amount, token, deadline, and status.

getUserBalance ​

solidity
function getUserBalance(address user, address token)
    external
    view
    returns (uint256)

Returns one user's credited balance for one token.

Public getters ​

Solidity also exposes getters for nextEscrowId, escrows, userBalances, platformFeeBps, and platformWallet.

Missing IDs ​

The contract has no explicit existence flag. Reading an unused mapping ID returns zero-filled Solidity defaults. Integrators should not treat such a record as a valid escrow.

Documentation grounded in the current ERC-20 escrow implementation.