Prepare: credit a bookrunner for borrowing
bind_builderCredits a bookrunner's code with the wallet's borrowing on Borro (Bookrunners): the bookrunner earns Borro's own fee on the interest the wallet pays, all of it for 12 months, half after; the wallet pays nothing more. Without signature: EIP-712 typed data for the wallet to sign (eth_signTypedData_v4, no transaction, no gas), good for 10 minutes. With signature and that timestamp: submits it, the same as POST https://borro.markets/builders/bind. One code per wallet; the first binding stands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The bookrunner's code, as in borro.markets/?ref=<code> | |
| wallet | Yes | The wallet's address (0x...); the transactions are built for it to sign | |
| signature | No | The wallet's EIP-712 signature, 0x and 130 hex characters; leave out to get the typed data | |
| timestamp | No | With signature: the timestamp from the typed data that was signed |