o1js
Version:
TypeScript framework for zk-SNARKs and zkApps
124 lines (122 loc) • 3.56 kB
text/typescript
export { mockFetchActionsResponse };
const mockFetchActionsResponse = {
data: {
actions: [
{
blockInfo: {
distanceFromMaxBlockHeight: 11,
},
actionState: {
actionStateOne:
'25525130517416993227046681664758665799110129890808721833148757111140891481208',
actionStateTwo:
'25079927036070901246064867767436987657692091363973573142121686150614948079097',
},
actionData: [
{
accountUpdateId: '5',
data: [
'20503089751358270987184701275168489753952341816059774976784079526478451099801',
'1',
],
},
{
accountUpdateId: '3',
data: [
'20374659537065244088703638031937922870146667362923279084491778322749365537089',
'1',
],
},
],
},
{
blockInfo: {
distanceFromMaxBlockHeight: 5,
},
actionState: {
actionStateOne:
'290963518424616502946790040851348455652296009700336010663574777600482385855',
actionStateTwo:
'25525130517416993227046681664758665799110129890808721833148757111140891481208',
},
actionData: [
{
accountUpdateId: '7',
data: [
'3374074164183544078218789545772953663729921088152354292852793744356608231707',
'0',
],
},
],
},
{
blockInfo: {
distanceFromMaxBlockHeight: 3,
},
actionState: {
actionStateOne:
'20673199655841577810393943638910551364027795297920791498278816237738641857371',
actionStateTwo:
'290963518424616502946790040851348455652296009700336010663574777600482385855',
},
actionData: [
{
accountUpdateId: '9',
data: [
'12630758077588166643924428865613845067150916064939816120404808842510620524633',
'1',
],
},
],
},
{
blockInfo: {
distanceFromMaxBlockHeight: 2,
},
actionState: {
actionStateOne:
'10964420428484427410756859799314206378989718180435238943573393516522086219419',
actionStateTwo:
'20673199655841577810393943638910551364027795297920791498278816237738641857371',
},
actionData: [
{
accountUpdateId: '19',
data: [
'17137397755795687855356639427474789131368991089558570411893673365904353943290',
'1',
],
},
{
accountUpdateId: '17',
data: [
'3378367318331499715304980508337843233019278703665446829424824679144818589558',
'1',
],
},
{
accountUpdateId: '15',
data: [
'27263309408256888453299195755797013857604561285332380691270111409680109142128',
'1',
],
},
{
accountUpdateId: '13',
data: [
'15789351988619560045401465240113496854401074115453702466673859303925517061263',
'0',
],
},
{
accountUpdateId: '11',
data: [
'5643224648393140391519847064914429159616501351124129591669928700148350171602',
'0',
],
},
],
},
],
},
};