aboutsummaryrefslogblamecommitdiffstats
path: root/src/schemas/token_schema.ts
blob: 01702af68e011c54f2fe722211a4ed65a5369f61 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                               
export const tokenSchema = {
    id: '/token',
    properties: {
        name: {type: 'string'},
        symbol: {type: 'string'},
        decimals: {type: 'number'},
        address: {type: 'string'},
        url: {type: 'string'},
    },
    required: ['name', 'symbol', 'decimals', 'address', 'url'],
    type: 'object',
};