include-sdk
get/api/v2/pwn_contracts/loan/{chainId}/{loanTokenContractAddress}/{onChainId}/

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • none

Path parameters

chainIdstring required
loanTokenContractAddressstring required
onChainIdstring required

Response

chainId1 | 137 | 100 | 25 | 8453 | 10 | 130 | 42161 | 56 | 11155111 | 1301 | 112211 | 11155112 | 480 | 57073 | 59144 | 42220 required
contractAddressstring required
onChainIdstring required
loanTokenContractAddressstring required
createdAtinteger required
originalSourceOfFundsstring required
borrowerstring required
originalLenderstring required
loanOwnerstring nullable required
collateralAmountstring required
startDateinteger required
defaultDateinteger required
paidBackAtinteger nullable required
claimedAtinteger nullable required
loanThatWasRefinancedIdstring nullable required
createdFromProposalIdstring nullable required
relatedThesisIdstring nullable required
durationinteger required
status0 | 2 | 3 | 4 required
type'pwn_contracts.betaloan' | 'pwn_contracts.v1_1simpleloan' | 'pwn_contracts.v1_2simpleloan' | 'pwn_contracts.v1_3simpleloan' required
borrowerReferrerstring nullable required
lenderReferrerstring nullable required

Changes

    • warning

      added the new 42220.00 enum value to the response property for the response status

    • warning

      added the new 42220.00 enum value to the / response property for the response status

    • warning

      added the new 42220.00 enum value to the / response property for the response status

    • warning

      added the new 57073.00 enum value to the response property for the response status

    • warning

      added the new 57073.00 enum value to the / response property for the response status

    • warning

      added the new 57073.00 enum value to the / response property for the response status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      added the new 59144.00 enum value to the response property for the response status

    • warning

      added the new 59144.00 enum value to the / response property for the response status

    • warning

      added the new 59144.00 enum value to the / response property for the response status