Skip to main content
Returns all wallets associated with an owner address, organized into master and sub wallet groups.
GET /wallet/:owner

Path Parameters

ParameterTypeDescription
ownerstringOwner wallet address

Response (200)

FieldTypeDescription
masterWalletInfo[]Master wallets for this owner (typically one)
subWalletInfo[]Sub-wallets for this owner

WalletInfo

FieldTypeDescription
ownerAddressstringOwner EOA address
walletAddressstringDeployed wallet address
saltstringSalt used for CREATE2 deployment
payerAddressstringAddress that paid for deployment
paymentTxHashstringTransaction hash for the deployment fee payment
deploymentTxHashstringTransaction hash for the wallet deployment
paymentCompletedbooleanWhether the fee payment settled
deploymentCompletedbooleanWhether the wallet is deployed on-chain
fundingRequestedbooleanWhether funding was requested during deployment
fundingCompletedbooleanWhether funding was transferred
fundingAmountstringFunding amount in wei
fundingTxHashstring | nullTransaction hash for funding, null if not funded
createdAtstringISO 8601 timestamp of record creation
updatedAtstringISO 8601 timestamp of last update

Examples

cURL

curl https://facilitatorv3.b402.ai/wallet/0xAbC1234567890aBcDeF1234567890AbCdEf123456

TypeScript

const owner = "0xAbC1234567890aBcDeF1234567890AbCdEf123456";
const response = await fetch(`https://facilitatorv3.b402.ai/wallet/${owner}`);
const data = await response.json();

console.log("Master wallets:", data.master.length);
console.log("Sub wallets:", data.sub.length);

for (const wallet of [...data.master, ...data.sub]) {
  const status = wallet.deploymentCompleted ? "deployed" : "pending";
  console.log(`${wallet.walletAddress} (${status})`);
}

Example Response

{
  "master": [
    {
      "ownerAddress": "0xAbC1234567890aBcDeF1234567890AbCdEf123456",
      "walletAddress": "0x...master_wallet",
      "salt": "0x...master_salt",
      "payerAddress": "0xAbC1234567890aBcDeF1234567890AbCdEf123456",
      "paymentTxHash": "0x...tx_hash",
      "deploymentTxHash": "0x...tx_hash",
      "paymentCompleted": true,
      "deploymentCompleted": true,
      "fundingRequested": true,
      "fundingCompleted": true,
      "fundingAmount": "1000000000000000000",
      "fundingTxHash": "0x...tx_hash",
      "createdAt": "2025-03-01T12:00:00.000Z",
      "updatedAt": "2025-03-01T12:00:05.000Z"
    }
  ],
  "sub": []
}

Error Codes

CodeHTTP StatusDescription
validation_error400Invalid owner address format
not_found404No wallets found for this owner