Add a wallet
POST/builders/:slug/wallets
Links a wallet you launch from to your builder on one chain. Launches it sends there after that are credited to your builder at the verified wallet tier.
The wallet signs this EIP-191 text, which the API rebuilds from the fields you send:
Bankr builder wallet proof
Link this wallet to the Bankr builder below. Signing sends no transaction.
Builder: <slug>
Wallet: <checksummed address>
Chain: <chain>
Chain ID: <chain id>
Nonce: <nonce>
Expires: <expiresAt>
An EOA's signature is checked offline; a contract wallet's with ERC-1271 on the chain, or ERC-6492 before it is deployed. A nonce is accepted once. A wallet belongs to at most one builder per chain, and a builder links at most 100 wallets. 201 when the wallet is linked, 200 when it already was. Shares the 30-per-minute builder write limit.
Request
Responses
- 200
- 201
- 400
- 401
- 403
- 404
- 409
- 429
- 500
- 503
The builder's public profile after the change.
The builder's public profile after the change.
A validation failure (details), or the proof is expired, expires too far ahead or does not verify.
No key, or the key is invalid or inactive (message says which).
One of:
API_KEY_READ_ONLY: the key is read-only.- The builder belongs to another account.
- The account has not accepted Bankr's terms (Create a builder only).
- The account is suspended:
errorisAccount suspendedandbannedistrue. - A partner-provisioned wallet that is suspended or closed, or whose partner organization is deactivated.
- The request's IP is not on the key's IP allowlist.
No builder has this slug, or the wallet behind the key no longer exists.
The proof was already used, the wallet is linked to another builder on this chain, or the builder already links 100 wallets.
Over the builder write limit, 30 requests per minute per IP. Wait the number of seconds in Retry-After, then retry.
Response Headers
Seconds until the limit resets.
Requests allowed per minute.
Requests left in this minute.
Seconds until the limit resets.
Something failed on Bankr's side. The body is a fixed message with no code; retry later.
A contract wallet's signature could not be checked on the chain right now. Retry.