UNPKG
@pump-fun/shared-contracts
Version:
latest (0.2.2)
0.2.2
Shared contracts for Pump.fun microservices.
@pump-fun/shared-contracts
/
src
/
api-contracts
/
schemas
/
user.schema.ts
8 lines
(5 loc)
•
144 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
import
{ z }
from
"zod"
;
export
const
UserSchema
= z.
object
({
walletAddress
: z.
string
(), });
export
type
User
= z.
infer
<
typeof
UserSchema
>;