aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas/token_schema.ts
blob: e9e359fdf6dfa0831bf591e35c06209afb8f333e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
export const tokenSchema = {
    id: '/token',
    properties: {
        name: {type: 'string'},
        symbol: {type: 'string'},
        decimals: {type: 'number'},
        address: {$ref: '/addressSchema'},
    },
    required: ['name', 'symbol', 'decimals', 'address'],
    type: 'object',
};