{"openapi":"3.0.0","paths":{"/scores":{"post":{"description":"One result per request user, same order. Shared DID or social key reuses one snapshot. Optional filter sets passedFilter on each result instead of omitting rows.","operationId":"ScoreController_batchScores","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScoresBatchRequestDto"}}}},"responses":{"200":{"description":"Score snapshots per requested user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScoresBatchResponseDto"}}}},"400":{"description":"Invalid request payload or validation failure."},"401":{"description":"Invalid or inactive x-api-key."},"402":{"description":"When no x-api-key is provided, this route requires x402 USDC payment. Swagger Try-it cannot complete the payment handshake — use an api-key for testing."}},"security":[{"ApiKeyAuth":[]}],"summary":"Batch scores for linked accounts","tags":["Scores"]}},"/scores/u/{username}":{"get":{"description":"Resolve a Connect public username to a member DID and return their score snapshot.","operationId":"ScoreController_getScoresByUsername","parameters":[{"name":"username","required":true,"in":"path","description":"Connect public username","schema":{"example":"luso","type":"string"}}],"responses":{"200":{"description":"Score snapshot","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectScoreSnapshotDto"}}}},"400":{"description":"Invalid request payload or validation failure."},"401":{"description":"Invalid or inactive x-api-key."},"402":{"description":"When no x-api-key is provided, this route requires x402 USDC payment. Swagger Try-it cannot complete the payment handshake — use an api-key for testing."},"404":{"description":"Connect profile not found for username"}},"security":[{"ApiKeyAuth":[]}],"summary":"Scores by Connect username","tags":["Scores"]}},"/scores/{platform}/{identifier}":{"get":{"description":"Fetch scores for a linked social account or wallet. Resolves to a Connect member when linked; otherwise returns scores keyed by the social identifier alone.","operationId":"ScoreController_getScoresByLinkedAccount","parameters":[{"name":"platform","required":true,"in":"path","description":"Linked account platform (wallet, email, phone, telegram, discord, farcaster, twitter, github, linkedin, slack).","schema":{"enum":["wallet","email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack"],"type":"string"}},{"name":"identifier","required":true,"in":"path","description":"Platform identifier — numeric id, handle, EVM address, or URL-encoded value depending on platform.","schema":{"example":"375007","type":"string"}}],"responses":{"200":{"description":"Score snapshot","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectScoreSnapshotDto"}}}},"400":{"description":"Invalid request payload or validation failure."},"401":{"description":"Invalid or inactive x-api-key."},"402":{"description":"When no x-api-key is provided, this route requires x402 USDC payment. Swagger Try-it cannot complete the payment handshake — use an api-key for testing."}},"security":[{"ApiKeyAuth":[]}],"summary":"Scores by linked account","tags":["Scores"]}},"/lookup":{"post":{"description":"Batch-resolve email, phone, and social identities to EVM and Solana wallet addresses. Provide x-api-key to skip x402 payment. Large batches may return status=processing — retry the same payload.","operationId":"LookupController_lookupRecipients","parameters":[{"name":"x-admin-api-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupDto"}}}},"responses":{"200":{"description":"Lookup completed or still processing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecipientLookupResponseDto"}}}},"400":{"description":"Invalid recipient payload (unknown type, missing id/username, or validation failure)."},"401":{"description":"Invalid or inactive x-api-key."},"402":{"description":"When no x-api-key is provided, lookup requires x402 USDC payment. Swagger Try-it cannot complete the payment handshake — use an api-key for testing."}},"security":[{"ApiKeyAuth":[]}],"summary":"Resolve wallets for social recipients","tags":["Lookup"]}},"/lookup/exposed":{"post":{"description":"Returns enriched Connect profile data and platforms a recipient has explicitly exposed. Accepts a social identity, a Connect username, or a wallet (EVM, Solana, or smart wallet) that the owner has marked exposed. Includes profile handle, presentation fields, scores, and wallet addresses for exposed wallet links. Requires x402 payment when no api-key is provided and the profile owner charges for lookups.","operationId":"LookupController_getExposed","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExposureDto"}}}},"responses":{"200":{"description":"Enriched exposed linked accounts (empty when none)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExposedLookupResponseDto"}}}},"400":{"description":"Invalid recipient payload (unknown type, missing id/username, or validation failure)."},"402":{"description":"When no x-api-key is provided, lookup requires x402 USDC payment. Swagger Try-it cannot complete the payment handshake — use an api-key for testing."},"409":{"description":"Ambiguous identifier: multiple users match"}},"summary":"List platforms a recipient has exposed on Connect","tags":["Lookup"]}},"/price":{"get":{"description":"Public reference prices for x402 micropayments (lookup, scores). No authentication required. Live paywall amounts are always advertised in **402** responses.","operationId":"PriceController_getPrice","parameters":[],"responses":{"200":{"description":"Current x402 unit prices","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceResponseDto"}}}}},"summary":"Get x402 list pricing","tags":["Pricing"]}},"/chains":{"get":{"description":"Public catalog of product chains and per-feature compatibility. `lookup` is true for EVM catalog chains and Solana. `drop` is true for Smart Send chains, enabled delegation chains, and Solana (chainId 1399811149). No authentication required.","operationId":"ChainsController_getChains","parameters":[],"responses":{"200":{"description":"Supported chains with feature flags","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChainsResponseDto"}}}}},"summary":"List supported chains","tags":["Chains"]}},"/drop/balance":{"get":{"description":"Returns native and token balances for the API key owner embedded wallet on the requested chain. Smart Send chains are read from Moralis. Robinhood Chain (chainId 4663) returns the native balance from the chain RPC and ERC-20 balances from Blockscout. Monad (chainId 143) returns the native balance from the chain RPC and ERC-20 balances from Moralis. Other enabled delegation chains return the native balance plus featured tokens from the chain RPC. On Arc (chainId 5042) that native balance is USDC at 18 decimals — the same funds as ERC-20 0x3600000000000000000000000000000000000000 (6 decimals). Use before POST /drop to verify gas and token funds. On Solana (chainId 1399811149) native SOL is required even for SPL drops (fees and ATA rent).","operationId":"AutoDropController_getBalance","parameters":[{"name":"chainId","required":true,"in":"query","description":"Smart Send chain ID, enabled delegation chain ID, or 1399811149 for Solana mainnet","schema":{"example":"8453","type":"number"}}],"responses":{"200":{"description":"Wallet balances","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletBalanceResponseDto"}}}},"400":{"description":"Invalid request payload or validation failure."},"401":{"description":"Invalid or inactive x-api-key."},"502":{"description":"Balance provider unavailable"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get Smart Send wallet balances on a chain","tags":["Drop"]}},"/drop":{"post":{"description":"Batch-send native, ERC-20, ERC-721, ERC-1155, or Solana SOL/SPL tokens to wallet or social recipients (email, phone, telegram, discord, farcaster, twitter, github). Omit tokenContract or set it to null for the chain native token; pass the ERC-20 contract, ERC-721 collection (tokenStandard=erc721), ERC-1155 contract (tokenStandard=erc1155), or SPL mint otherwise. Native gas (ETH/… or SOL) is always required. On Solana, SPL recipients do not need an existing token account; the sender pays ~0.002 SOL rent per new ATA. Accepts x-api-key (server-to-server) or Privy Bearer token (Connect member with registered Smart Send signer).","operationId":"AutoDropController_autoDrop","parameters":[{"name":"ignoreFailedRecipients","required":false,"in":"query","description":"When true, proceed with recipients that resolved successfully","schema":{"type":"string","enum":["true","false"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoDropDto"}}}},"responses":{"201":{"description":"Drop submitted on-chain","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoDropCreatedResponseDto"}}}},"202":{"description":"Some recipients still processing — retry with same idempotency key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutoDropProcessingResponseDto"}}}},"400":{"description":"Invalid request payload or validation failure."},"401":{"description":"Missing or invalid authentication"}},"security":[{"PrivyBearer":[]},{"ApiKeyAuth":[]}],"summary":"Execute a Smart Send transfer","tags":["Drop"]}},"/trust":{"post":{"description":"Attests that the API key owner trusts each identity in `to` (one EAS multiAttest transaction on Base). Identical active attestations are left out of that transaction. Identities still provisioning are returned as processing while the others are attested. Accepts x-api-key (server-to-server) or Privy Bearer token (Connect member with registered Smart Send signer).","operationId":"TrustController_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTrustDto"}}}},"responses":{"200":{"description":"Every target already has an identical active attestation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustCreateResponseDto"}}}},"201":{"description":"At least one attestation submitted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustCreateResponseDto"}}}},"202":{"description":"No new attestation; at least one target is still provisioning","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustCreateResponseDto"}}}},"400":{"description":"Invalid request payload or validation failure."},"401":{"description":"Missing or invalid authentication"}},"security":[{"PrivyBearer":[]},{"ApiKeyAuth":[]}],"summary":"Create trust attestations on Base","tags":["Trust"]}},"/trust/revoke":{"post":{"description":"Revokes all active attestations from the caller to `to` (optionally limited to a context). Accepts x-api-key (server-to-server) or Privy Bearer token (Connect member with registered Smart Send signer).","operationId":"TrustController_revokeByTarget","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokeTrustDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustRevokeManyResponseDto"}}}},"400":{"description":"Invalid request payload or validation failure."},"401":{"description":"Missing or invalid authentication"},"404":{"description":"No active attestation"}},"security":[{"PrivyBearer":[]},{"ApiKeyAuth":[]}],"summary":"Revoke trust by target","tags":["Trust"]}},"/trust/{uid}":{"delete":{"description":"Accepts x-api-key (server-to-server) or Privy Bearer token (Connect member with registered Smart Send signer).","operationId":"TrustController_revokeByUid","parameters":[{"name":"uid","required":true,"in":"path","description":"EAS attestation UID","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustWriteResponseDto"}}}},"401":{"description":"Missing or invalid authentication"},"403":{"description":"Caller is not the attester"},"404":{"description":"Attestation not found"}},"security":[{"PrivyBearer":[]},{"ApiKeyAuth":[]}],"summary":"Revoke a single attestation by UID","tags":["Trust"]}},"/trust/check":{"post":{"description":"Depth 1 only. Omit context to match any context. Same auth/paywall as POST /scores.","operationId":"TrustController_check","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckTrustDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustCheckResponseDto"}}}},"400":{"description":"Invalid request payload or validation failure."},"401":{"description":"Invalid or inactive x-api-key."},"402":{"description":"When no x-api-key is provided, this route requires x402 USDC payment. Swagger Try-it cannot complete the payment handshake — use an api-key for testing."}},"security":[{"ApiKeyAuth":[]}],"summary":"Check whether identities sit in a trust graph","tags":["Trust"]}},"/trust/graph/{platform}/{identifier}":{"get":{"description":"Outgoing (default) or incoming edges at depth 1. Same auth/paywall as GET /scores.","operationId":"TrustController_graph","parameters":[{"name":"platform","required":true,"in":"path","description":"Linked account platform (wallet, email, phone, telegram, discord, farcaster, twitter, github, linkedin, slack). Or `username` for a Connect username.","schema":{"type":"string"}},{"name":"identifier","required":true,"in":"path","description":"Platform identifier — numeric id, handle, EVM address, or URL-encoded value depending on platform.","schema":{"type":"string"}},{"name":"context","required":false,"in":"query","schema":{"type":"string"}},{"name":"direction","required":false,"in":"query","schema":{"enum":["out","in"],"type":"string"}},{"name":"page","required":false,"in":"query","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrustGraphResponseDto"}}}},"400":{"description":"Invalid request payload or validation failure."},"401":{"description":"Invalid or inactive x-api-key."},"402":{"description":"When no x-api-key is provided, this route requires x402 USDC payment. Swagger Try-it cannot complete the payment handshake — use an api-key for testing."},"404":{"description":"Identity not found"}},"security":[{"ApiKeyAuth":[]}],"summary":"List a trust graph","tags":["Trust"]}}},"info":{"title":"Quidli Connect API","description":"Product APIs for wallet lookup, scores, and Smart Send. Authentication: x-api-key (subscription) or x402 USDC payment where noted.","version":"1.0.0","contact":{}},"tags":[{"name":"Lookup","description":""},{"name":"Scores","description":""},{"name":"Drop","description":""},{"name":"Pricing","description":""},{"name":"Chains","description":""}],"servers":[{"url":"https://api.connect.quid.li"}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"},"PrivyBearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http"}},"schemas":{"WalletRecipientDto":{"type":"object","properties":{"type":{"type":"string","enum":["wallet","email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack"],"description":"Recipient platform type"},"amountInWei":{"type":"string","description":"Optional per-recipient amount in smallest units for batch-send flows. Same rules as amountInWeiPerRecipient (native ETH = 18 decimals; ERC-20 uses token decimals).","example":"1000000000000000000"},"tokenId":{"type":"string","description":"ERC-721 or ERC-1155 token id. Required on every recipient when tokenStandard is erc721 or erc1155. Decimal integer string.","example":"42"},"tokenAmount":{"type":"string","description":"ERC-1155 quantity of tokenId. Required on every recipient when tokenStandard is erc1155. Decimal integer string, at least 1.","example":"1"},"id":{"type":"string","description":"Platform-specific identifier. Exactly one of id or username is required.","example":"12345"},"username":{"type":"string","description":"Platform-specific handle. Exactly one of id or username is required.","example":"alice"}},"required":["type"]},"MailRecipientDto":{"type":"object","properties":{"type":{"type":"string","enum":["wallet","email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack"],"description":"Recipient platform type"},"amountInWei":{"type":"string","description":"Optional per-recipient amount in smallest units for batch-send flows. Same rules as amountInWeiPerRecipient (native ETH = 18 decimals; ERC-20 uses token decimals).","example":"1000000000000000000"},"tokenId":{"type":"string","description":"ERC-721 or ERC-1155 token id. Required on every recipient when tokenStandard is erc721 or erc1155. Decimal integer string.","example":"42"},"tokenAmount":{"type":"string","description":"ERC-1155 quantity of tokenId. Required on every recipient when tokenStandard is erc1155. Decimal integer string, at least 1.","example":"1"},"id":{"type":"string","description":"Platform-specific identifier. Exactly one of id or username is required.","example":"12345"},"username":{"type":"string","description":"Platform-specific handle. Exactly one of id or username is required.","example":"alice"}},"required":["type"]},"PhoneRecipientDto":{"type":"object","properties":{"type":{"type":"string","enum":["wallet","email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack"],"description":"Recipient platform type"},"amountInWei":{"type":"string","description":"Optional per-recipient amount in smallest units for batch-send flows. Same rules as amountInWeiPerRecipient (native ETH = 18 decimals; ERC-20 uses token decimals).","example":"1000000000000000000"},"tokenId":{"type":"string","description":"ERC-721 or ERC-1155 token id. Required on every recipient when tokenStandard is erc721 or erc1155. Decimal integer string.","example":"42"},"tokenAmount":{"type":"string","description":"ERC-1155 quantity of tokenId. Required on every recipient when tokenStandard is erc1155. Decimal integer string, at least 1.","example":"1"},"id":{"type":"string","description":"Platform-specific identifier. Exactly one of id or username is required.","example":"12345"},"username":{"type":"string","description":"Platform-specific handle. Exactly one of id or username is required.","example":"alice"}},"required":["type"]},"TelegramRecipientDto":{"type":"object","properties":{"type":{"type":"string","enum":["wallet","email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack"],"description":"Recipient platform type"},"amountInWei":{"type":"string","description":"Optional per-recipient amount in smallest units for batch-send flows. Same rules as amountInWeiPerRecipient (native ETH = 18 decimals; ERC-20 uses token decimals).","example":"1000000000000000000"},"tokenId":{"type":"string","description":"ERC-721 or ERC-1155 token id. Required on every recipient when tokenStandard is erc721 or erc1155. Decimal integer string.","example":"42"},"tokenAmount":{"type":"string","description":"ERC-1155 quantity of tokenId. Required on every recipient when tokenStandard is erc1155. Decimal integer string, at least 1.","example":"1"},"id":{"type":"string","description":"Platform-specific identifier. Exactly one of id or username is required.","example":"12345"},"username":{"type":"string","description":"Platform-specific handle. Exactly one of id or username is required.","example":"alice"}},"required":["type"]},"DiscordRecipientDto":{"type":"object","properties":{"type":{"type":"string","enum":["wallet","email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack"],"description":"Recipient platform type"},"amountInWei":{"type":"string","description":"Optional per-recipient amount in smallest units for batch-send flows. Same rules as amountInWeiPerRecipient (native ETH = 18 decimals; ERC-20 uses token decimals).","example":"1000000000000000000"},"tokenId":{"type":"string","description":"ERC-721 or ERC-1155 token id. Required on every recipient when tokenStandard is erc721 or erc1155. Decimal integer string.","example":"42"},"tokenAmount":{"type":"string","description":"ERC-1155 quantity of tokenId. Required on every recipient when tokenStandard is erc1155. Decimal integer string, at least 1.","example":"1"},"id":{"type":"string","description":"Platform-specific identifier. Exactly one of id or username is required.","example":"12345"},"username":{"type":"string","description":"Platform-specific handle. Exactly one of id or username is required.","example":"alice"}},"required":["type"]},"FarcasterRecipientDto":{"type":"object","properties":{"type":{"type":"string","enum":["wallet","email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack"],"description":"Recipient platform type"},"amountInWei":{"type":"string","description":"Optional per-recipient amount in smallest units for batch-send flows. Same rules as amountInWeiPerRecipient (native ETH = 18 decimals; ERC-20 uses token decimals).","example":"1000000000000000000"},"tokenId":{"type":"string","description":"ERC-721 or ERC-1155 token id. Required on every recipient when tokenStandard is erc721 or erc1155. Decimal integer string.","example":"42"},"tokenAmount":{"type":"string","description":"ERC-1155 quantity of tokenId. Required on every recipient when tokenStandard is erc1155. Decimal integer string, at least 1.","example":"1"},"id":{"type":"string","description":"Platform-specific identifier. Exactly one of id or username is required.","example":"12345"},"username":{"type":"string","description":"Platform-specific handle. Exactly one of id or username is required.","example":"alice"}},"required":["type"]},"TwitterRecipientDto":{"type":"object","properties":{"type":{"type":"string","enum":["wallet","email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack"],"description":"Recipient platform type"},"amountInWei":{"type":"string","description":"Optional per-recipient amount in smallest units for batch-send flows. Same rules as amountInWeiPerRecipient (native ETH = 18 decimals; ERC-20 uses token decimals).","example":"1000000000000000000"},"tokenId":{"type":"string","description":"ERC-721 or ERC-1155 token id. Required on every recipient when tokenStandard is erc721 or erc1155. Decimal integer string.","example":"42"},"tokenAmount":{"type":"string","description":"ERC-1155 quantity of tokenId. Required on every recipient when tokenStandard is erc1155. Decimal integer string, at least 1.","example":"1"},"id":{"type":"string","description":"Platform-specific identifier. Exactly one of id or username is required.","example":"12345"},"username":{"type":"string","description":"Platform-specific handle. Exactly one of id or username is required.","example":"alice"}},"required":["type"]},"GithubRecipientDto":{"type":"object","properties":{"type":{"type":"string","enum":["wallet","email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack"],"description":"Recipient platform type"},"amountInWei":{"type":"string","description":"Optional per-recipient amount in smallest units for batch-send flows. Same rules as amountInWeiPerRecipient (native ETH = 18 decimals; ERC-20 uses token decimals).","example":"1000000000000000000"},"tokenId":{"type":"string","description":"ERC-721 or ERC-1155 token id. Required on every recipient when tokenStandard is erc721 or erc1155. Decimal integer string.","example":"42"},"tokenAmount":{"type":"string","description":"ERC-1155 quantity of tokenId. Required on every recipient when tokenStandard is erc1155. Decimal integer string, at least 1.","example":"1"},"id":{"type":"string","description":"Platform-specific identifier. Exactly one of id or username is required.","example":"12345"},"username":{"type":"string","description":"Platform-specific handle. Exactly one of id or username is required.","example":"alice"}},"required":["type"]},"LinkedinRecipientDto":{"type":"object","properties":{"type":{"type":"string","enum":["wallet","email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack"],"description":"Recipient platform type"},"amountInWei":{"type":"string","description":"Optional per-recipient amount in smallest units for batch-send flows. Same rules as amountInWeiPerRecipient (native ETH = 18 decimals; ERC-20 uses token decimals).","example":"1000000000000000000"},"tokenId":{"type":"string","description":"ERC-721 or ERC-1155 token id. Required on every recipient when tokenStandard is erc721 or erc1155. Decimal integer string.","example":"42"},"tokenAmount":{"type":"string","description":"ERC-1155 quantity of tokenId. Required on every recipient when tokenStandard is erc1155. Decimal integer string, at least 1.","example":"1"},"id":{"type":"string","description":"Platform-specific identifier. Exactly one of id or username is required.","example":"12345"},"username":{"type":"string","description":"Platform-specific handle. Exactly one of id or username is required.","example":"alice"}},"required":["type"]},"SlackRecipientDto":{"type":"object","properties":{"type":{"type":"string","enum":["wallet","email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack"],"description":"Recipient platform type"},"amountInWei":{"type":"string","description":"Optional per-recipient amount in smallest units for batch-send flows. Same rules as amountInWeiPerRecipient (native ETH = 18 decimals; ERC-20 uses token decimals).","example":"1000000000000000000"},"tokenId":{"type":"string","description":"ERC-721 or ERC-1155 token id. Required on every recipient when tokenStandard is erc721 or erc1155. Decimal integer string.","example":"42"},"tokenAmount":{"type":"string","description":"ERC-1155 quantity of tokenId. Required on every recipient when tokenStandard is erc1155. Decimal integer string, at least 1.","example":"1"},"id":{"type":"string","description":"Slack user ID (alphanumeric)","example":"U01234567"}},"required":["type","id"]},"ConnectUsernameBatchUserDto":{"type":"object","properties":{"type":{"type":"string","enum":["username"],"example":"username"},"id":{"type":"string","description":"Connect public username","example":"luso","pattern":"^[a-z][a-z0-9_-]{2,19}$"}},"required":["type","id"]},"ScoresBatchFilterDto":{"type":"object","properties":{"type":{"type":"string","enum":["quidli_score","lens_score","neynar_score","ethos_twitter_reputation","ethos_wallet_reputation"],"example":"quidli_score"},"minScore":{"type":"number","description":"Minimum score threshold — 0–100 for quidli_score, 0–2800 for ethos_* metrics, 0–1 for neynar/lens","example":50}},"required":["type","minScore"]},"ScoresBatchRequestDto":{"type":"object","properties":{"users":{"type":"array","description":"Users to fetch scores for (linked accounts or Connect username)","minItems":1,"items":{"oneOf":[{"$ref":"#/components/schemas/WalletRecipientDto"},{"$ref":"#/components/schemas/MailRecipientDto"},{"$ref":"#/components/schemas/PhoneRecipientDto"},{"$ref":"#/components/schemas/TelegramRecipientDto"},{"$ref":"#/components/schemas/DiscordRecipientDto"},{"$ref":"#/components/schemas/FarcasterRecipientDto"},{"$ref":"#/components/schemas/TwitterRecipientDto"},{"$ref":"#/components/schemas/GithubRecipientDto"},{"$ref":"#/components/schemas/LinkedinRecipientDto"},{"$ref":"#/components/schemas/SlackRecipientDto"},{"$ref":"#/components/schemas/ConnectUsernameBatchUserDto"}],"discriminator":{"propertyName":"type","mapping":{"wallet":"#/components/schemas/WalletRecipientDto","email":"#/components/schemas/MailRecipientDto","phone":"#/components/schemas/PhoneRecipientDto","telegram":"#/components/schemas/TelegramRecipientDto","discord":"#/components/schemas/DiscordRecipientDto","farcaster":"#/components/schemas/FarcasterRecipientDto","twitter":"#/components/schemas/TwitterRecipientDto","github":"#/components/schemas/GithubRecipientDto","linkedin":"#/components/schemas/LinkedinRecipientDto","slack":"#/components/schemas/SlackRecipientDto","username":"#/components/schemas/ConnectUsernameBatchUserDto"}}}},"filter":{"description":"Optional minimum-score filter; sets passedFilter on each result instead of omitting rows","allOf":[{"$ref":"#/components/schemas/ScoresBatchFilterDto"}]}},"required":["users"]},"ConnectScoreMetricDto":{"type":"object","properties":{"code":{"type":"string","example":"neynar_score"},"label":{"type":"string","example":"Neynar score"},"value":{"type":"number","example":0.82},"source":{"type":"string","example":"neynar"},"description":{"type":"string"},"reference":{"type":"object"},"normalized":{"type":"boolean","description":"When true, value is normalized to [0, 1]"}},"required":["code","label","value"]},"ConnectScoreSnapshotDto":{"type":"object","properties":{"quidliScore":{"type":"object","nullable":true,"description":"Quidli trust index 0–100; null when no base score available","example":72},"categories":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/ConnectScoreMetricDto"}},"description":"Metrics grouped by category key (farcaster, lens, discord, connect, …)"}},"required":["quidliScore","categories"]},"ScoresBatchResultItemDto":{"type":"object","properties":{"type":{"type":"string","example":"farcaster"},"id":{"type":"string","example":"375007"},"username":{"type":"string","example":"alice"},"scores":{"$ref":"#/components/schemas/ConnectScoreSnapshotDto"},"passedFilter":{"type":"boolean","description":"Present when the request included filter: true if scores meet minScore","example":true}},"required":["type","scores"]},"ScoresBatchResponseDto":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ScoresBatchResultItemDto"}}},"required":["results"]},"LookupDto":{"type":"object","properties":{"recipients":{"type":"array","description":"Recipients to resolve to EVM/Solana wallet addresses","minItems":1,"items":{"oneOf":[{"$ref":"#/components/schemas/MailRecipientDto"},{"$ref":"#/components/schemas/PhoneRecipientDto"},{"$ref":"#/components/schemas/TelegramRecipientDto"},{"$ref":"#/components/schemas/DiscordRecipientDto"},{"$ref":"#/components/schemas/FarcasterRecipientDto"},{"$ref":"#/components/schemas/TwitterRecipientDto"},{"$ref":"#/components/schemas/GithubRecipientDto"},{"$ref":"#/components/schemas/LinkedinRecipientDto"},{"$ref":"#/components/schemas/SlackRecipientDto"}],"discriminator":{"propertyName":"type","mapping":{"email":"#/components/schemas/MailRecipientDto","phone":"#/components/schemas/PhoneRecipientDto","telegram":"#/components/schemas/TelegramRecipientDto","discord":"#/components/schemas/DiscordRecipientDto","farcaster":"#/components/schemas/FarcasterRecipientDto","twitter":"#/components/schemas/TwitterRecipientDto","github":"#/components/schemas/GithubRecipientDto","linkedin":"#/components/schemas/LinkedinRecipientDto","slack":"#/components/schemas/SlackRecipientDto"}}}}},"required":["recipients"]},"ExposureDto":{"type":"object","properties":{"recipient":{"description":"Recipient whose exposed linked accounts should be listed (social, exposed wallet, or Connect username)","oneOf":[{"$ref":"#/components/schemas/MailRecipientDto"},{"$ref":"#/components/schemas/PhoneRecipientDto"},{"$ref":"#/components/schemas/TelegramRecipientDto"},{"$ref":"#/components/schemas/DiscordRecipientDto"},{"$ref":"#/components/schemas/FarcasterRecipientDto"},{"$ref":"#/components/schemas/TwitterRecipientDto"},{"$ref":"#/components/schemas/GithubRecipientDto"},{"$ref":"#/components/schemas/LinkedinRecipientDto"},{"$ref":"#/components/schemas/SlackRecipientDto"},{"$ref":"#/components/schemas/WalletRecipientDto"},{"$ref":"#/components/schemas/ConnectUsernameBatchUserDto"}],"discriminator":{"propertyName":"type","mapping":{"email":"#/components/schemas/MailRecipientDto","phone":"#/components/schemas/PhoneRecipientDto","telegram":"#/components/schemas/TelegramRecipientDto","discord":"#/components/schemas/DiscordRecipientDto","farcaster":"#/components/schemas/FarcasterRecipientDto","twitter":"#/components/schemas/TwitterRecipientDto","github":"#/components/schemas/GithubRecipientDto","linkedin":"#/components/schemas/LinkedinRecipientDto","slack":"#/components/schemas/SlackRecipientDto","wallet":"#/components/schemas/WalletRecipientDto","username":"#/components/schemas/ConnectUsernameBatchUserDto"}}}},"required":["recipient"]},"RecipientWithWalletDto":{"type":"object","properties":{"did":{"type":"string","description":"Privy DID when the recipient has a Connect account"},"type":{"type":"string","enum":["email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack"]},"value":{"type":"string","description":"Resolved identifier value (id or username)"},"ethWalletAddress":{"type":"object","nullable":true,"description":"EVM wallet address when available"},"solWalletAddress":{"type":"object","nullable":true,"description":"Solana wallet address when available"},"amountInWei":{"type":"object","description":"Echo of request amountInWei when provided"},"tokenId":{"type":"object","description":"ERC-721 or ERC-1155 token id when tokenStandard is erc721 or erc1155"},"tokenAmount":{"type":"object","description":"ERC-1155 quantity when tokenStandard is erc1155"}},"required":["type","value","ethWalletAddress","solWalletAddress"]},"RecipientLookupResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["completed","processing"]},"results":{"type":"array","items":{"$ref":"#/components/schemas/RecipientWithWalletDto"}},"failed":{"type":"array","description":"Recipients that could not be resolved","minItems":1,"items":{"oneOf":[{"$ref":"#/components/schemas/MailRecipientDto"},{"$ref":"#/components/schemas/PhoneRecipientDto"},{"$ref":"#/components/schemas/TelegramRecipientDto"},{"$ref":"#/components/schemas/DiscordRecipientDto"},{"$ref":"#/components/schemas/FarcasterRecipientDto"},{"$ref":"#/components/schemas/TwitterRecipientDto"},{"$ref":"#/components/schemas/GithubRecipientDto"},{"$ref":"#/components/schemas/LinkedinRecipientDto"},{"$ref":"#/components/schemas/SlackRecipientDto"}],"discriminator":{"propertyName":"type","mapping":{"email":"#/components/schemas/MailRecipientDto","phone":"#/components/schemas/PhoneRecipientDto","telegram":"#/components/schemas/TelegramRecipientDto","discord":"#/components/schemas/DiscordRecipientDto","farcaster":"#/components/schemas/FarcasterRecipientDto","twitter":"#/components/schemas/TwitterRecipientDto","github":"#/components/schemas/GithubRecipientDto","linkedin":"#/components/schemas/LinkedinRecipientDto","slack":"#/components/schemas/SlackRecipientDto"}}}}},"required":["status"]},"ExposedLookupProfileDto":{"type":"object","properties":{"did":{"type":"string","example":"cm123abc","description":"Public DID slug (without did:privy: prefix)"},"username":{"type":"object","nullable":true,"example":"luso"},"displayName":{"type":"object","nullable":true,"example":"Luso"},"pfpUrl":{"type":"object","nullable":true},"bio":{"type":"object","nullable":true},"location":{"type":"object","nullable":true},"publicProfileEnabled":{"type":"boolean","example":true},"publicProfileUrl":{"type":"object","nullable":true,"example":"https://connect.quid.li/u/luso"},"defaultEthWalletAddress":{"type":"object","nullable":true,"description":"Default EVM payout wallet when set"},"defaultSolanaWalletAddress":{"type":"object","nullable":true,"description":"Default Solana payout wallet when set"},"scores":{"$ref":"#/components/schemas/ConnectScoreSnapshotDto"}},"required":["did","username","displayName","pfpUrl","bio","location","publicProfileEnabled","publicProfileUrl","defaultEthWalletAddress","defaultSolanaWalletAddress","scores"]},"ExposedLookupAccountDto":{"type":"object","properties":{"platform":{"type":"string","example":"farcaster"},"socialId":{"type":"string","example":"12345"},"username":{"type":"object","nullable":true,"example":"luso"},"title":{"type":"string","example":"Luso"},"subtitle":{"type":"object","nullable":true,"example":"@luso"},"imageUrl":{"type":"object","nullable":true},"details":{"type":"object","additionalProperties":true,"description":"Platform-specific details (Farcaster fid/username, Telegram handle, ENS on wallets, …)"},"canTalk":{"type":"object","nullable":true,"description":"Whether the user allows messaging on this channel"},"linkedAt":{"type":"string","example":"2025-01-15T10:30:00.000Z"},"ethWalletAddress":{"type":"object","nullable":true,"description":"EVM wallet address when this exposed account is a wallet link"},"solanaWalletAddress":{"type":"object","nullable":true,"description":"Solana wallet address when this exposed account is a wallet link"}},"required":["platform","socialId","username","title","subtitle","imageUrl","canTalk","linkedAt","ethWalletAddress","solanaWalletAddress"]},"ExposedLookupQueriedRecipientDto":{"type":"object","properties":{"type":{"type":"string","enum":["wallet","email","phone","telegram","discord","farcaster","twitter","github","linkedin","slack","username"]},"value":{"type":"string","example":"luso"},"identifierField":{"type":"string","enum":["id","username"]}},"required":["type","value","identifierField"]},"ExposedLookupMetaDto":{"type":"object","properties":{"queriedRecipient":{"$ref":"#/components/schemas/ExposedLookupQueriedRecipientDto"},"accountCount":{"type":"number","example":2,"description":"How many accounts are exposed"},"linkedAccounts":{"type":"string","enum":["none","1-2","3-5","6+"],"example":"3-5","description":"Coarse band for how many accounts are linked in total, exposed or not. Distinguishes a handle nobody has claimed (\"none\") from one whose owner has exposed nothing. Reveals no detail about the accounts themselves."},"hasWallets":{"type":"boolean","example":true,"description":"True when at least one exposed account is a wallet or has linked wallet addresses"},"pricePerRequestUsd":{"type":"number","example":0.01,"description":"USDC price the profile owner charges per paid API request"}},"required":["queriedRecipient","accountCount","linkedAccounts","hasWallets","pricePerRequestUsd"]},"ExposedLookupResponseDto":{"type":"object","properties":{"profile":{"nullable":true,"description":"Connect profile summary; null when recipient is unknown or has no exposed accounts","type":"object","allOf":[{"$ref":"#/components/schemas/ExposedLookupProfileDto"}]},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/ExposedLookupAccountDto"}},"meta":{"$ref":"#/components/schemas/ExposedLookupMetaDto"}},"required":["profile","accounts","meta"]},"LookupPriceDto":{"type":"object","properties":{"pricePerRecipient":{"type":"string","description":"x402 USDC price per lookup recipient (base units, six decimals)","example":"1000"}},"required":["pricePerRecipient"]},"ScoresPriceDto":{"type":"object","properties":{"pricePerScore":{"type":"string","description":"x402 USDC price per scores request unit (base units, six decimals)","example":"500"}},"required":["pricePerScore"]},"PriceResponseDto":{"type":"object","properties":{"lookup":{"$ref":"#/components/schemas/LookupPriceDto"},"scores":{"$ref":"#/components/schemas/ScoresPriceDto"}},"required":["lookup","scores"]},"ChainFeaturesDto":{"type":"object","properties":{"lookup":{"type":"boolean","description":"Lookup returns an address usable on this chain family","example":true},"drop":{"type":"boolean","description":"POST /drop and GET /drop/balance accept this chain (Smart Send or an enabled delegation chain)","example":true}},"required":["lookup","drop"]},"ChainDto":{"type":"object","properties":{"chainId":{"type":"number","description":"Numeric chain ID (EVM id, or 1399811149 for Solana mainnet).","example":8453,"nullable":true},"caip2":{"type":"string","description":"CAIP-2 chain identifier","example":"eip155:8453"},"name":{"type":"string","example":"Base"},"family":{"type":"string","enum":["evm","solana"],"example":"evm"},"isTestnet":{"type":"boolean","example":false},"nativeCurrency":{"type":"string","example":"ETH"},"features":{"$ref":"#/components/schemas/ChainFeaturesDto"}},"required":["chainId","caip2","name","family","isTestnet","nativeCurrency","features"]},"ChainsResponseDto":{"type":"object","properties":{"chains":{"type":"array","items":{"$ref":"#/components/schemas/ChainDto"}}},"required":["chains"]},"TrustFilterDto":{"type":"object","properties":{"context":{"type":"string","description":"Restrict to this context. Omit to accept any context."},"mode":{"type":"string","enum":["require","skip"],"description":"require = 400 if anyone is outside the graph; skip = drop them"}},"required":["mode"]},"AutoDropDto":{"type":"object","properties":{"idempotencyKey":{"type":"string","format":"uuid","description":"Idempotency key — reuse the same key when retrying a processing drop"},"chainId":{"type":"number","description":"Target chain ID. Privy Smart Send chains: 1, 8453, 137, 10, 42161, 43114, 480, 4801, 1399811149 (1399811149 = Solana mainnet). Any other EVM chain requires an active EIP-7702 delegation on that chain (see delegationId).","example":8453},"delegationId":{"type":"string","format":"uuid","description":"EIP-7702 delegation to execute with (gas paid by the wallet). When omitted, Privy Smart Send is used if enabled on the chain, otherwise the single active delegation on the chain."},"tokenContract":{"type":"object","nullable":true,"description":"EVM ERC-20 contract or Solana SPL mint. Omit or null for the chain native token (ETH/POL/AVAX on EVM, SOL on 1399811149). Do not use the zero address.","example":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"},"tokenStandard":{"type":"string","enum":["erc721","erc1155"],"description":"Set to erc721 to send one NFT per recipient (tokenId, no amount). Set to erc1155 to send a quantity of one id per recipient (tokenId and tokenAmount). Omit for native, ERC-20, or SPL. An existing EIP-7702 delegation must be replaced so its policy includes the matching safeTransferFrom. A Smart Send wallet on the previous Privy policy must re-enable Smart Send."},"recipients":{"type":"array","description":"Wallet or social recipients (all wallet or all social, no mix). Social types: email, phone, telegram, discord, farcaster, twitter, github. Optional amountInWei per recipient uses the same smallest-unit rules as amountInWeiPerRecipient.","minItems":1,"items":{"oneOf":[{"$ref":"#/components/schemas/WalletRecipientDto"},{"$ref":"#/components/schemas/MailRecipientDto"},{"$ref":"#/components/schemas/PhoneRecipientDto"},{"$ref":"#/components/schemas/TelegramRecipientDto"},{"$ref":"#/components/schemas/DiscordRecipientDto"},{"$ref":"#/components/schemas/FarcasterRecipientDto"},{"$ref":"#/components/schemas/TwitterRecipientDto"},{"$ref":"#/components/schemas/GithubRecipientDto"}],"discriminator":{"propertyName":"type","mapping":{"wallet":"#/components/schemas/WalletRecipientDto","email":"#/components/schemas/MailRecipientDto","phone":"#/components/schemas/PhoneRecipientDto","telegram":"#/components/schemas/TelegramRecipientDto","discord":"#/components/schemas/DiscordRecipientDto","farcaster":"#/components/schemas/FarcasterRecipientDto","twitter":"#/components/schemas/TwitterRecipientDto","github":"#/components/schemas/GithubRecipientDto"}}}},"amountInWeiPerRecipient":{"type":"object","nullable":true,"description":"Uniform amount in smallest units (wei / lamports). Native ETH uses 18 decimals; SOL uses 9; ERC-20/SPL uses the token decimals (see GET /drop/balance, USDC usually 6). Omit when setting amountInWei on each recipient.","example":"1000000000000000000"},"trustFilter":{"description":"When set, keep only recipients in the sender trust graph. mode=require rejects the drop if anyone is outside; mode=skip drops them. Omit context to match any context.","allOf":[{"$ref":"#/components/schemas/TrustFilterDto"}]}},"required":["idempotencyKey","chainId","recipients"]},"AutoDropCreatedResponseDto":{"type":"object","properties":{"transferHash":{"type":"string","example":"0xabc123…"},"status":{"type":"string","enum":["success","failed","partial"]},"failedRecipients":{"type":"array","description":"Recipients that failed wallet resolution or validation","minItems":1,"items":{"oneOf":[{"$ref":"#/components/schemas/WalletRecipientDto"},{"$ref":"#/components/schemas/MailRecipientDto"},{"$ref":"#/components/schemas/PhoneRecipientDto"},{"$ref":"#/components/schemas/TelegramRecipientDto"},{"$ref":"#/components/schemas/DiscordRecipientDto"},{"$ref":"#/components/schemas/FarcasterRecipientDto"},{"$ref":"#/components/schemas/TwitterRecipientDto"},{"$ref":"#/components/schemas/GithubRecipientDto"}],"discriminator":{"propertyName":"type","mapping":{"wallet":"#/components/schemas/WalletRecipientDto","email":"#/components/schemas/MailRecipientDto","phone":"#/components/schemas/PhoneRecipientDto","telegram":"#/components/schemas/TelegramRecipientDto","discord":"#/components/schemas/DiscordRecipientDto","farcaster":"#/components/schemas/FarcasterRecipientDto","twitter":"#/components/schemas/TwitterRecipientDto","github":"#/components/schemas/GithubRecipientDto"}}}}},"required":["transferHash","status"]},"AutoDropProcessingResponseDto":{"type":"object","properties":{"status":{"type":"string","enum":["processing"]},"message":{"type":"string","example":"Some recipients are being processed. Please retry with the same idempotency key."}},"required":["status","message"]},"WalletAssetBalanceDto":{"type":"object","properties":{"type":{"type":"string","enum":["native","erc20"]},"tokenContract":{"type":"object","nullable":true,"description":"ERC-20 contract or Solana mint; null for the chain native token","example":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"},"name":{"type":"string","example":"USD Coin"},"symbol":{"type":"string","example":"USDC"},"decimals":{"type":"number","example":6},"balanceInWei":{"type":"string","description":"Balance in smallest unit (wei for native tokens)","example":"1000000"},"logo":{"type":"object","nullable":true,"description":"Token logo URL when available"}},"required":["type","name","symbol","decimals","balanceInWei"]},"WalletBalanceResponseDto":{"type":"object","properties":{"walletAddress":{"type":"string","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"},"chainId":{"type":"number","example":8453},"assets":{"type":"array","items":{"$ref":"#/components/schemas/WalletAssetBalanceDto"}}},"required":["walletAddress","chainId","assets"]},"CreateTrustDto":{"type":"object","properties":{"to":{"type":"array","description":"Identities to trust (wallet or social; unknown socials are provisioned like lookup/drop). level, context, and expiresIn apply to every entry.","minItems":1,"items":{"oneOf":[{"$ref":"#/components/schemas/WalletRecipientDto"},{"$ref":"#/components/schemas/MailRecipientDto"},{"$ref":"#/components/schemas/PhoneRecipientDto"},{"$ref":"#/components/schemas/TelegramRecipientDto"},{"$ref":"#/components/schemas/DiscordRecipientDto"},{"$ref":"#/components/schemas/FarcasterRecipientDto"},{"$ref":"#/components/schemas/TwitterRecipientDto"},{"$ref":"#/components/schemas/GithubRecipientDto"},{"$ref":"#/components/schemas/LinkedinRecipientDto"},{"$ref":"#/components/schemas/SlackRecipientDto"},{"$ref":"#/components/schemas/ConnectUsernameBatchUserDto"}],"discriminator":{"propertyName":"type","mapping":{"wallet":"#/components/schemas/WalletRecipientDto","email":"#/components/schemas/MailRecipientDto","phone":"#/components/schemas/PhoneRecipientDto","telegram":"#/components/schemas/TelegramRecipientDto","discord":"#/components/schemas/DiscordRecipientDto","farcaster":"#/components/schemas/FarcasterRecipientDto","twitter":"#/components/schemas/TwitterRecipientDto","github":"#/components/schemas/GithubRecipientDto","linkedin":"#/components/schemas/LinkedinRecipientDto","slack":"#/components/schemas/SlackRecipientDto","username":"#/components/schemas/ConnectUsernameBatchUserDto"}}},"maxItems":50},"level":{"type":"number","description":"Trust level 1–100 (existence is what v1 checks)","example":100,"minimum":1,"maximum":100},"context":{"type":"string","description":"Optional context (e.g. team:quidli). Omit for general trust.","example":"team:quidli"},"expiresIn":{"type":"number","description":"Optional lifetime in seconds. Omit for no expiration.","example":31536000}},"required":["to","level"]},"RevokeTrustDto":{"type":"object","properties":{"to":{"description":"Identity whose trust to revoke","oneOf":[{"$ref":"#/components/schemas/WalletRecipientDto"},{"$ref":"#/components/schemas/MailRecipientDto"},{"$ref":"#/components/schemas/PhoneRecipientDto"},{"$ref":"#/components/schemas/TelegramRecipientDto"},{"$ref":"#/components/schemas/DiscordRecipientDto"},{"$ref":"#/components/schemas/FarcasterRecipientDto"},{"$ref":"#/components/schemas/TwitterRecipientDto"},{"$ref":"#/components/schemas/GithubRecipientDto"},{"$ref":"#/components/schemas/LinkedinRecipientDto"},{"$ref":"#/components/schemas/SlackRecipientDto"},{"$ref":"#/components/schemas/ConnectUsernameBatchUserDto"}],"discriminator":{"propertyName":"type","mapping":{"wallet":"#/components/schemas/WalletRecipientDto","email":"#/components/schemas/MailRecipientDto","phone":"#/components/schemas/PhoneRecipientDto","telegram":"#/components/schemas/TelegramRecipientDto","discord":"#/components/schemas/DiscordRecipientDto","farcaster":"#/components/schemas/FarcasterRecipientDto","twitter":"#/components/schemas/TwitterRecipientDto","github":"#/components/schemas/GithubRecipientDto","linkedin":"#/components/schemas/LinkedinRecipientDto","slack":"#/components/schemas/SlackRecipientDto","username":"#/components/schemas/ConnectUsernameBatchUserDto"}}},"context":{"type":"string","description":"Revoke only this context. Omit to revoke all contexts for the pair."}},"required":["to"]},"CheckTrustDto":{"type":"object","properties":{"from":{"description":"Graph owner (the attester)","oneOf":[{"$ref":"#/components/schemas/WalletRecipientDto"},{"$ref":"#/components/schemas/MailRecipientDto"},{"$ref":"#/components/schemas/PhoneRecipientDto"},{"$ref":"#/components/schemas/TelegramRecipientDto"},{"$ref":"#/components/schemas/DiscordRecipientDto"},{"$ref":"#/components/schemas/FarcasterRecipientDto"},{"$ref":"#/components/schemas/TwitterRecipientDto"},{"$ref":"#/components/schemas/GithubRecipientDto"},{"$ref":"#/components/schemas/LinkedinRecipientDto"},{"$ref":"#/components/schemas/SlackRecipientDto"},{"$ref":"#/components/schemas/ConnectUsernameBatchUserDto"}],"discriminator":{"propertyName":"type","mapping":{"wallet":"#/components/schemas/WalletRecipientDto","email":"#/components/schemas/MailRecipientDto","phone":"#/components/schemas/PhoneRecipientDto","telegram":"#/components/schemas/TelegramRecipientDto","discord":"#/components/schemas/DiscordRecipientDto","farcaster":"#/components/schemas/FarcasterRecipientDto","twitter":"#/components/schemas/TwitterRecipientDto","github":"#/components/schemas/GithubRecipientDto","linkedin":"#/components/schemas/LinkedinRecipientDto","slack":"#/components/schemas/SlackRecipientDto","username":"#/components/schemas/ConnectUsernameBatchUserDto"}}},"targets":{"type":"array","description":"Identities to test","minItems":1,"items":{"oneOf":[{"$ref":"#/components/schemas/WalletRecipientDto"},{"$ref":"#/components/schemas/MailRecipientDto"},{"$ref":"#/components/schemas/PhoneRecipientDto"},{"$ref":"#/components/schemas/TelegramRecipientDto"},{"$ref":"#/components/schemas/DiscordRecipientDto"},{"$ref":"#/components/schemas/FarcasterRecipientDto"},{"$ref":"#/components/schemas/TwitterRecipientDto"},{"$ref":"#/components/schemas/GithubRecipientDto"},{"$ref":"#/components/schemas/LinkedinRecipientDto"},{"$ref":"#/components/schemas/SlackRecipientDto"},{"$ref":"#/components/schemas/ConnectUsernameBatchUserDto"}],"discriminator":{"propertyName":"type","mapping":{"wallet":"#/components/schemas/WalletRecipientDto","email":"#/components/schemas/MailRecipientDto","phone":"#/components/schemas/PhoneRecipientDto","telegram":"#/components/schemas/TelegramRecipientDto","discord":"#/components/schemas/DiscordRecipientDto","farcaster":"#/components/schemas/FarcasterRecipientDto","twitter":"#/components/schemas/TwitterRecipientDto","github":"#/components/schemas/GithubRecipientDto","linkedin":"#/components/schemas/LinkedinRecipientDto","slack":"#/components/schemas/SlackRecipientDto","username":"#/components/schemas/ConnectUsernameBatchUserDto"}}}},"context":{"type":"string","description":"If set, only this context matches. Omit to match any context."}},"required":["from","targets"]},"TrustWriteResponseDto":{"type":"object","properties":{"uid":{"type":"string","example":"0xabc…"},"txHash":{"type":"object","nullable":true,"example":"0xdef…"},"status":{"type":"string","enum":["pending","confirmed","failed","active"]}},"required":["uid","status"]},"TrustCreateResultDto":{"type":"object","properties":{"status":{"type":"string","enum":["confirmed","active","processing"]},"uid":{"type":"object","nullable":true,"description":"Null while the target is still provisioning.","example":"0xabc…"},"txHash":{"type":"object","nullable":true,"example":"0xdef…"},"created":{"type":"boolean","description":"True when this request submitted a new attestation for the target."}},"required":["status","uid","txHash","created"]},"TrustCreateResponseDto":{"type":"object","properties":{"results":{"description":"One entry per `to` identity, in the same order.","type":"array","items":{"$ref":"#/components/schemas/TrustCreateResultDto"}}},"required":["results"]},"TrustRevokeManyResponseDto":{"type":"object","properties":{"uids":{"type":"array","items":{"type":"string"}},"txHashes":{"type":"array","items":{"type":"string"}}},"required":["uids","txHashes"]},"TrustCheckResultDto":{"type":"object","properties":{"trusted":{"type":"boolean"},"level":{"type":"object","nullable":true},"context":{"type":"object","nullable":true},"expiresAt":{"type":"object","nullable":true}},"required":["trusted"]},"TrustCheckResponseDto":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/TrustCheckResultDto"}}},"required":["results"]},"TrustGraphEdgeDto":{"type":"object","properties":{"did":{"type":"string"},"address":{"type":"object"},"level":{"type":"number"},"context":{"type":"string"},"expiresAt":{"type":"object","nullable":true},"uid":{"type":"string"}},"required":["did","address","level","context","uid"]},"TrustGraphResponseDto":{"type":"object","properties":{"edges":{"type":"array","items":{"$ref":"#/components/schemas/TrustGraphEdgeDto"}},"total":{"type":"number"},"page":{"type":"number"},"limit":{"type":"number"}},"required":["edges","total","page","limit"]}}}}