UNPKG

o1js

Version:

TypeScript framework for zk-SNARKs and zkApps

161 lines (159 loc) 4.29 kB
export { mockFetchActionsResponse }; const mockFetchActionsResponse = { data: { actions: [ { blockInfo: { distanceFromMaxBlockHeight: 10044, }, actionState: { actionStateOne: '12636308717155378495657553296284990333618148856424346334743675423201692801125', actionStateTwo: '13532287841471317150184319478504392572847735859185693513218934441300016387637', }, actionData: [ { accountUpdateId: '40576', data: [ '7', '5', '9', '4', '7', '6', '15661593045172372274349484602975176160403678593916071611247487060653084577990', '0', '1', ], transactionInfo: { sequenceNumber: 7, zkappAccountUpdateIds: [40576, 6396, 33066], }, }, { accountUpdateId: '40577', data: [ '2', '7', '4', '3', '1', '3', '15661593045172372274349484602975176160403678593916071611247487060653084577990', '0', '1', ], transactionInfo: { sequenceNumber: 8, zkappAccountUpdateIds: [40577, 6396, 33066], }, }, { accountUpdateId: '40586', data: [ '1', '6', '3', '5', '2', '7', '15661593045172372274349484602975176160403678593916071611247487060653084577990', '0', '1', ], transactionInfo: { sequenceNumber: 12, zkappAccountUpdateIds: [40586, 6396, 33066], }, }, { accountUpdateId: '40587', data: [ '4', '7', '5', '1', '2', '2', '15661593045172372274349484602975176160403678593916071611247487060653084577990', '0', '1', ], transactionInfo: { sequenceNumber: 13, zkappAccountUpdateIds: [40587, 6396, 33066], }, }, ], }, { blockInfo: { distanceFromMaxBlockHeight: 10043, }, actionState: { actionStateOne: '13552033292375176242184292341671233419412691991179711376625259275814019808194', actionStateTwo: '12636308717155378495657553296284990333618148856424346334743675423201692801125', }, actionData: [ { accountUpdateId: '40589', data: [ '3', '1', '3', '1', '5', '6', '12165186923319687572900094011821565862668411524381584956461194876028064035764', '0', '1', ], transactionInfo: { sequenceNumber: 4, zkappAccountUpdateIds: [40589, 40590, 40591], }, }, { accountUpdateId: '40592', data: [ '1', '1', '3', '4', '9', '4', '12956991225953906921841684099823101706501308776705520473434038962466907995970', '0', '1', ], transactionInfo: { sequenceNumber: 5, zkappAccountUpdateIds: [40592, 8848, 8849], }, }, { accountUpdateId: '40593', data: [ '9', '7', '1', '1', '8', '6', '12444248802460880132081449291546340439683979052479458915102943284375240795308', '1', '1', ], transactionInfo: { sequenceNumber: 6, zkappAccountUpdateIds: [40593, 40594, 40595], }, }, ], }, ], }, };