Skip to content

Commit

Permalink
More API sample requests
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-md committed May 31, 2024
1 parent 78de049 commit 183b4b9
Show file tree
Hide file tree
Showing 10 changed files with 1,172 additions and 168 deletions.
497 changes: 492 additions & 5 deletions components/ApiReference/examples/-v1-contracts--get.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"created": "2024-04-10T13:05:14.645339Z",
"modified": "2024-04-10T13:05:14.645339Z",
"safeOperationHash": "0x597ba36c626a32a4fcc9f23a4b25605ee30b46584918d6b6442387161dc3c51b",
"validAfter": "2024-02-01T02:14:48Z",
"validUntil": "2024-06-18T23:34:48Z",
"moduleAddress": "0xa581c4A4DB7175302464fF3C06380BC3270b4037",
"confirmations": [
{
"created": "2024-04-10T13:05:14.701603Z",
"modified": "2024-04-10T13:05:14.701603Z",
"owner": "0xc6b82bA149CFA113f8f48d5E3b1F78e933e16DfD",
"signature": "0xc0a67c542100ac5f23baaeb724be06df09362a83da4a03ec757d9722f3ced1c3641037d94d0f8fcc9eb150559ecac01c920d7795ff64b6296c7394b7a23930f31b",
"signatureType": "EOA"
}
],
"preparedSignature": "0xc0a67c542100ac5f23baaeb724be06df09362a83da4a03ec757d9722f3ced1c3641037d94d0f8fcc9eb150559ecac01c920d7795ff64b6296c7394b7a23930f31b",
"userOperation": {
"ethereumTxHash": null,
"sender": "0x6347C7679292b82872022a6FC9426222d9B04559",
"userOperationHash": "0xca68947a06631fe478f89d3d428d5f5e7337757d4640b34857c3fce13a3291a7",
"nonce": 2,
"initCode": "0x",
"callData": "0x7bb3742800000000000000000000000038869bf66a61cf6bdb996a6ae40d5853fd43b52600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000002c48d80ff0a00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000264001c7d4b196cb0c7b01d743fbc6116a902379c723800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000006347c7679292b82872022a6fc9426222d9b0455900000000000000000000000000000000000000000000000000000000000186a0001c7d4b196cb0c7b01d743fbc6116a902379c723800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000006347c7679292b82872022a6fc9426222d9b0455900000000000000000000000000000000000000000000000000000000000186a0001c7d4b196cb0c7b01d743fbc6116a902379c723800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000006347c7679292b82872022a6fc9426222d9b0455900000000000000000000000000000000000000000000000000000000000186a0001c7d4b196cb0c7b01d743fbc6116a902379c723800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000006347c7679292b82872022a6fc9426222d9b0455900000000000000000000000000000000000000000000000000000000000186a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"callGasLimit": 142240,
"verificationGasLimit": 90217,
"preVerificationGas": 61410,
"maxFeePerGas": 1380942583,
"maxPriorityFeePerGas": 1380000000,
"paymaster": "0xDFF7FA1077Bce740a6a212b3995990682c0Ba66d",
"paymasterData": "0xdff7fa1077bce740a6a212b3995990682c0ba66d",
"signature": "0xc0a67c542100ac5f23baaeb724be06df09362a83da4a03ec757d9722f3ced1c3641037d94d0f8fcc9eb150559ecac01c920d7795ff64b6296c7394b7a23930f31b",
"entryPoint": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"
}
}
17 changes: 9 additions & 8 deletions components/ApiReference/examples/-v1-safes-{address}--get.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"address": "0xcd2E72aEBe2A203b84f46DEEC948E6465dB51c75",
"nonce": 50,
"address": "0xF72b6C739E7889b89C888403a960a59935564405",
"nonce": 0,
"threshold": 1,
"owners": [
"0x56519083C3cfeAE833B93a93c843C993bE1D74EA",
"0xA1b02d8c67b0FDCF4E379855868DeB470E169cfB"
"0xc6b82bA149CFA113f8f48d5E3b1F78e933e16DfD"
],
"masterCopy": "0xd9Db270c1B5E3Bd161E8c8503c55cEABeE709552",
"modules": [],
"fallbackHandler": "0x0000000000000000000000000000000000000000",
"masterCopy": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
"modules": [
"0xa581c4A4DB7175302464fF3C06380BC3270b4037"
],
"fallbackHandler": "0xa581c4A4DB7175302464fF3C06380BC3270b4037",
"guard": "0x0000000000000000000000000000000000000000",
"version": "1.3.0"
"version": "1.4.1+L2"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"created": "2019-11-27T15:01:45Z",
"creator": "0xA1b02d8c67b0FDCF4E379855868DeB470E169cfB",
"transactionHash": "0x9c65d416867d9e13732fee8b85dd44c4d774b9bad31b3cd44e78eeefc33ce97f",
"factoryAddress": "0x12302fE9c02ff50939BaAaaf415fc226C078613C",
"masterCopy": "0xb6029EA3B2c51D09a50B53CA8012FeEB05bDa35A",
"setupData": "0xa97ab18a00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a1b02d8c67b0fdcf4e379855868deb470e169cfb0000000000000000000000000000000000000000000000000000000000000000",
"created": "2024-05-02T09:21:48Z",
"creator": "0x7fc98430eAEdbb6070B35B39D798725049088348",
"transactionHash": "0xb385f65ad802423028550f20a94f2433671a16874e2544827bbf146bbb08d96c",
"factoryAddress": "0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67",
"masterCopy": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
"setupData": "0xb63e800d000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000010000000000000000000000008ecd4ec46d4d2a6b64fe960b3d64e8b94b2234eb0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000a581c4a4db7175302464ff3c06380bc3270b40370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c6b82ba149cfa113f8f48d5e3b1f78e933e16dfd00000000000000000000000000000000000000000000000000000000000000648d0dc49f00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a581c4a4db7175302464ff3c06380bc3270b403700000000000000000000000000000000000000000000000000000000",
"dataDecoded": {
"method": "setup",
"parameters": [
{
"name": "_owners",
"type": "address[]",
"value": [
"0xA1b02d8c67b0FDCF4E379855868DeB470E169cfB"
"0xc6b82bA149CFA113f8f48d5E3b1F78e933e16DfD"
]
},
{
Expand All @@ -23,12 +23,17 @@
{
"name": "to",
"type": "address",
"value": "0x0000000000000000000000000000000000000000"
"value": "0x8EcD4ec46D4D2a6B64fE960B3D64e8B94B2234eb"
},
{
"name": "data",
"type": "bytes",
"value": "0x"
"value": "0x8d0dc49f00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a581c4a4db7175302464ff3c06380bc3270b4037"
},
{
"name": "fallbackHandler",
"type": "address",
"value": "0xa581c4A4DB7175302464fF3C06380BC3270b4037"
},
{
"name": "paymentToken",
Expand All @@ -47,5 +52,39 @@
}
]
},
"userOperation": null
"userOperation": {
"ethereumTxHash": "0xb385f65ad802423028550f20a94f2433671a16874e2544827bbf146bbb08d96c",
"sender": "0xF72b6C739E7889b89C888403a960a59935564405",
"userOperationHash": "0xd9e377ffd06eb4babfc3b52d70894d94ff57f51c8803b70f178ef74e50b38905",
"nonce": 0,
"initCode": "0x4e1dcf7ad4e460cfd30791ccc4f9c8a4f820ec671688f0b900000000000000000000000029fcb43b46531bca003ddc8fcb67ffe91900c7620000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000a96c00000000000000000000000000000000000000000000000000000000000001e4b63e800d000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000010000000000000000000000008ecd4ec46d4d2a6b64fe960b3d64e8b94b2234eb0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000a581c4a4db7175302464ff3c06380bc3270b40370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c6b82ba149cfa113f8f48d5e3b1f78e933e16dfd00000000000000000000000000000000000000000000000000000000000000648d0dc49f00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000a581c4a4db7175302464ff3c06380bc3270b40370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"callData": "0x7bb3742800000000000000000000000038869bf66a61cf6bdb996a6ae40d5853fd43b52600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000002c48d80ff0a00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000264001c7d4b196cb0c7b01d743fbc6116a902379c723800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb000000000000000000000000f72b6c739e7889b89c888403a960a5993556440500000000000000000000000000000000000000000000000000000000000186a0001c7d4b196cb0c7b01d743fbc6116a902379c723800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb000000000000000000000000f72b6c739e7889b89c888403a960a5993556440500000000000000000000000000000000000000000000000000000000000186a0001c7d4b196cb0c7b01d743fbc6116a902379c723800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb000000000000000000000000f72b6c739e7889b89c888403a960a5993556440500000000000000000000000000000000000000000000000000000000000186a0001c7d4b196cb0c7b01d743fbc6116a902379c723800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044a9059cbb000000000000000000000000f72b6c739e7889b89c888403a960a5993556440500000000000000000000000000000000000000000000000000000000000186a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"callGasLimit": 140240,
"verificationGasLimit": 542895,
"preVerificationGas": 66374,
"maxFeePerGas": 16535642691,
"maxPriorityFeePerGas": 1380000000,
"paymaster": "0xDFF7FA1077Bce740a6a212b3995990682c0Ba66d",
"paymasterData": "0xdff7fa1077bce740a6a212b3995990682c0ba66d",
"signature": "0x000065d7cd940000668ee894c0dd9fd0ef8958eb8ee8245efdc9e1074380c9682e0bb2c0958dfc2aabf4d34e425b00f872ac761bb2cfdf43968fc76d6a892a65b8b270d1ad289fb151e65d5a1b",
"entryPoint": "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789",
"safeOperation": {
"created": "2024-05-07T14:23:27.988241Z",
"modified": "2024-05-07T14:23:27.988241Z",
"safeOperationHash": "0xf531b1c7481e14be90e721d422325a597b9e0134ca0aebdc8134fab2e16fb343",
"validAfter": "2024-02-22T22:41:24Z",
"validUntil": "2024-07-10T20:01:24Z",
"moduleAddress": "0xa581c4A4DB7175302464fF3C06380BC3270b4037",
"confirmations": [
{
"created": "2024-05-07T14:23:28.003273Z",
"modified": "2024-05-07T14:23:28.003273Z",
"owner": "0xc6b82bA149CFA113f8f48d5E3b1F78e933e16DfD",
"signature": "0xc0dd9fd0ef8958eb8ee8245efdc9e1074380c9682e0bb2c0958dfc2aabf4d34e425b00f872ac761bb2cfdf43968fc76d6a892a65b8b270d1ad289fb151e65d5a1b",
"signatureType": "EOA"
}
],
"preparedSignature": "0xc0dd9fd0ef8958eb8ee8245efdc9e1074380c9682e0bb2c0958dfc2aabf4d34e425b00f872ac761bb2cfdf43968fc76d6a892a65b8b270d1ad289fb151e65d5a1b"
}
}
}
Loading

0 comments on commit 183b4b9

Please sign in to comment.