Username Proofs API
Used to retrieve proofs of username ownership.
API
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetUsernameProof | UsernameProofRequest | UserNameProof | Gets username proof by name |
GetUserNameProofsByFid | FidRequest | UsernameProofsResponse | Gets all username proofs for an FID |
UsernameProofRequest
Field | Type | Label | Description |
---|---|---|---|
name | bytes | Username to get proof for |
UsernameProofsResponse
Field | Type | Label | Description |
---|---|---|---|
proofs | UserNameProof | repeated | Array of username proofs |
UserNameProof
Field | Type | Label | Description |
---|---|---|---|
timestamp | uint64 | Timestamp of the proof | |
name | bytes | Username being proved | |
owner | bytes | Owner address | |
signature | bytes | Cryptographic signature | |
fid | uint64 | Farcaster ID associated with the proof | |
type | UserNameType | Type of username proof |