BETA - Create a "borrow" transactionCopy Pagepost https://api.valha.xyz/v0/{chain}/pools/{pool_address}/borrowBETA FEATURE - Please contact team to be whitelisted. Create transaction objects to interact with an EVM blockchain for a specified user.Recent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Path ParamschainstringenumrequiredDefaults to ethereumThe blockchain that will be used for this request.ethereumethereum-goerlipolygonbscoptimismarbitrumavalancheceloarbitrum-testnetbsc-testnetShow 10 enum valuespool_addressstringrequiredDefaults to 0xdf0770df86a8034b3efef0a1bb3c889b8332ff56The address of the pool that will be used for this request.Body ParamsBETA FEATURE - To create Borrow interaction objects, the body of the request must contain: user amount To get access, please contact [email protected].userstringrequiredDefaults to 0x45E954acf1Efc374478dF69B45f12AEFD8AE51a3amountnumberrequiredDefaults to 20disable_checkbooleanDefaults to trueIf selected to true, the API will not check if the provided user's address has enought token to perform the action.truefalsemaximum_approvalbooleanDefaults to falseIf selected to true, the API will put the maximum amount for the approval action.truefalseestimate_gasbooleanDefaults to falseBETA FEATURE (only Ethereum, Polygon and Arbitrum chains for now) - If selected to true, the API will return the gas limit necessary for the action.truefalseestimate_returnbooleanDefaults to falseBETA FEATURE - If selected to true, the API will return the estimation of token you will receive with this action in a specific "estimate" object. Be careful, this option changes the return type of the API to have two objects: "estimate" and "transactions".truefalsereferralstringPlease specify the address, the string or the referral number you want to specify into the action. This referral code will be provided to the protocol for the action.Responses 200approveTx might be null if there is no need for an approval. 400Updated over 2 years ago Did this page help you?YesNo