3686
3686
}
3687
3687
};
3688
3688
defs["solidity_service.TxIdentifier"] = {
3689
- "required" : [ "txHash" ],
3690
3689
"type" : "object",
3691
3690
"properties" : {
3692
3691
"txHash" : {
3693
- "type" : "string"
3692
+ "type" : "string",
3693
+ "description" : "One of txHash, simulationId, bundleId is required."
3694
3694
},
3695
3695
"simulationId" : {
3696
3696
"type" : "string"
@@ -10684,17 +10684,17 @@ <h3>Usage and SDK Samples</h3>
10684
10684
// Create an instance of the API class
10685
10685
DebugAndSimulationApi apiInstance = new DebugAndSimulationApi();
10686
10686
String networkId = networkId_example; // String |
10687
- String txIdPeriodtxHash = txIdPeriodtxHash_example; // String |
10688
10687
String projectOwner = projectOwner_example; // String |
10689
10688
String projectSlug = projectSlug_example; // String |
10689
+ String txIdPeriodtxHash = txIdPeriodtxHash_example; // String | One of txHash, simulationId, bundleId is required.
10690
10690
String txIdPeriodsimulationId = txIdPeriodsimulationId_example; // String |
10691
10691
String txIdPeriodbundleId = txIdPeriodbundleId_example; // String |
10692
10692
Boolean disableOptimizer = true; // Boolean |
10693
10693
Boolean withInternalCalls = true; // Boolean | Fetch the decoded trace, which will give you the function info, decoded parameters of both external and internal call trace.
10694
10694
Boolean ignoreGasCost = true; // Boolean | Only effective when disableOptimizer=true
10695
10695
10696
10696
try {
10697
- google.api.HttpBody result = apiInstance.getCallTrace(networkId, txIdPeriodtxHash, projectOwner, projectSlug, txIdPeriodsimulationId, txIdPeriodbundleId, disableOptimizer, withInternalCalls, ignoreGasCost);
10697
+ google.api.HttpBody result = apiInstance.getCallTrace(networkId, projectOwner, projectSlug, txIdPeriodtxHash , txIdPeriodsimulationId, txIdPeriodbundleId, disableOptimizer, withInternalCalls, ignoreGasCost);
10698
10698
System.out.println(result);
10699
10699
} catch (ApiException e) {
10700
10700
System.err.println("Exception when calling DebugAndSimulationApi#getCallTrace");
@@ -10711,17 +10711,17 @@ <h3>Usage and SDK Samples</h3>
10711
10711
final api_instance = DefaultApi();
10712
10712
10713
10713
final String networkId = new String(); // String |
10714
- final String txIdPeriodtxHash = new String(); // String |
10715
10714
final String projectOwner = new String(); // String |
10716
10715
final String projectSlug = new String(); // String |
10716
+ final String txIdPeriodtxHash = new String(); // String | One of txHash, simulationId, bundleId is required.
10717
10717
final String txIdPeriodsimulationId = new String(); // String |
10718
10718
final String txIdPeriodbundleId = new String(); // String |
10719
10719
final Boolean disableOptimizer = new Boolean(); // Boolean |
10720
10720
final Boolean withInternalCalls = new Boolean(); // Boolean | Fetch the decoded trace, which will give you the function info, decoded parameters of both external and internal call trace.
10721
10721
final Boolean ignoreGasCost = new Boolean(); // Boolean | Only effective when disableOptimizer=true
10722
10722
10723
10723
try {
10724
- final result = await api_instance.getCallTrace(networkId, txIdPeriodtxHash, projectOwner, projectSlug, txIdPeriodsimulationId, txIdPeriodbundleId, disableOptimizer, withInternalCalls, ignoreGasCost);
10724
+ final result = await api_instance.getCallTrace(networkId, projectOwner, projectSlug, txIdPeriodtxHash , txIdPeriodsimulationId, txIdPeriodbundleId, disableOptimizer, withInternalCalls, ignoreGasCost);
10725
10725
print(result);
10726
10726
} catch (e) {
10727
10727
print('Exception when calling DefaultApi->getCallTrace: $e\n');
@@ -10737,17 +10737,17 @@ <h3>Usage and SDK Samples</h3>
10737
10737
public static void main(String[] args) {
10738
10738
DebugAndSimulationApi apiInstance = new DebugAndSimulationApi();
10739
10739
String networkId = networkId_example; // String |
10740
- String txIdPeriodtxHash = txIdPeriodtxHash_example; // String |
10741
10740
String projectOwner = projectOwner_example; // String |
10742
10741
String projectSlug = projectSlug_example; // String |
10742
+ String txIdPeriodtxHash = txIdPeriodtxHash_example; // String | One of txHash, simulationId, bundleId is required.
10743
10743
String txIdPeriodsimulationId = txIdPeriodsimulationId_example; // String |
10744
10744
String txIdPeriodbundleId = txIdPeriodbundleId_example; // String |
10745
10745
Boolean disableOptimizer = true; // Boolean |
10746
10746
Boolean withInternalCalls = true; // Boolean | Fetch the decoded trace, which will give you the function info, decoded parameters of both external and internal call trace.
10747
10747
Boolean ignoreGasCost = true; // Boolean | Only effective when disableOptimizer=true
10748
10748
10749
10749
try {
10750
- google.api.HttpBody result = apiInstance.getCallTrace(networkId, txIdPeriodtxHash, projectOwner, projectSlug, txIdPeriodsimulationId, txIdPeriodbundleId, disableOptimizer, withInternalCalls, ignoreGasCost);
10750
+ google.api.HttpBody result = apiInstance.getCallTrace(networkId, projectOwner, projectSlug, txIdPeriodtxHash , txIdPeriodsimulationId, txIdPeriodbundleId, disableOptimizer, withInternalCalls, ignoreGasCost);
10751
10751
System.out.println(result);
10752
10752
} catch (ApiException e) {
10753
10753
System.err.println("Exception when calling DebugAndSimulationApi#getCallTrace");
@@ -10772,9 +10772,9 @@ <h3>Usage and SDK Samples</h3>
10772
10772
// Create an instance of the API class
10773
10773
DebugAndSimulationApi *apiInstance = [[DebugAndSimulationApi alloc] init];
10774
10774
String *networkId = networkId_example; // (default to null)
10775
- String *txIdPeriodtxHash = txIdPeriodtxHash_example; // (default to null)
10776
10775
String *projectOwner = projectOwner_example; // (optional) (default to null)
10777
10776
String *projectSlug = projectSlug_example; // (optional) (default to null)
10777
+ String *txIdPeriodtxHash = txIdPeriodtxHash_example; // One of txHash, simulationId, bundleId is required. (optional) (default to null)
10778
10778
String *txIdPeriodsimulationId = txIdPeriodsimulationId_example; // (optional) (default to null)
10779
10779
String *txIdPeriodbundleId = txIdPeriodbundleId_example; // (optional) (default to null)
10780
10780
Boolean *disableOptimizer = true; // (optional) (default to null)
@@ -10783,9 +10783,9 @@ <h3>Usage and SDK Samples</h3>
10783
10783
10784
10784
// Get indexed call trace
10785
10785
[apiInstance getCallTraceWith:networkId
10786
- txIdPeriodtxHash:txIdPeriodtxHash
10787
10786
projectOwner:projectOwner
10788
10787
projectSlug:projectSlug
10788
+ txIdPeriodtxHash:txIdPeriodtxHash
10789
10789
txIdPeriodsimulationId:txIdPeriodsimulationId
10790
10790
txIdPeriodbundleId:txIdPeriodbundleId
10791
10791
disableOptimizer:disableOptimizer
@@ -10815,10 +10815,10 @@ <h3>Usage and SDK Samples</h3>
10815
10815
// Create an instance of the API class
10816
10816
var api = new SentioApi.DebugAndSimulationApi()
10817
10817
var networkId = networkId_example; // {String}
10818
- var txIdPeriodtxHash = txIdPeriodtxHash_example; // {String}
10819
10818
var opts = {
10820
10819
'projectOwner': projectOwner_example, // {String}
10821
10820
'projectSlug': projectSlug_example, // {String}
10821
+ 'txIdPeriodtxHash': txIdPeriodtxHash_example, // {String} One of txHash, simulationId, bundleId is required.
10822
10822
'txIdPeriodsimulationId': txIdPeriodsimulationId_example, // {String}
10823
10823
'txIdPeriodbundleId': txIdPeriodbundleId_example, // {String}
10824
10824
'disableOptimizer': true, // {Boolean}
@@ -10833,7 +10833,7 @@ <h3>Usage and SDK Samples</h3>
10833
10833
console.log('API called successfully. Returned data: ' + data);
10834
10834
}
10835
10835
};
10836
- api.getCallTrace(networkId, txIdPeriodtxHash, opts, callback);
10836
+ api.getCallTrace(networkId, opts, callback);
10837
10837
</code></pre>
10838
10838
</div>
10839
10839
@@ -10861,9 +10861,9 @@ <h3>Usage and SDK Samples</h3>
10861
10861
// Create an instance of the API class
10862
10862
var apiInstance = new DebugAndSimulationApi();
10863
10863
var networkId = networkId_example; // String | (default to null)
10864
- var txIdPeriodtxHash = txIdPeriodtxHash_example; // String | (default to null)
10865
10864
var projectOwner = projectOwner_example; // String | (optional) (default to null)
10866
10865
var projectSlug = projectSlug_example; // String | (optional) (default to null)
10866
+ var txIdPeriodtxHash = txIdPeriodtxHash_example; // String | One of txHash, simulationId, bundleId is required. (optional) (default to null)
10867
10867
var txIdPeriodsimulationId = txIdPeriodsimulationId_example; // String | (optional) (default to null)
10868
10868
var txIdPeriodbundleId = txIdPeriodbundleId_example; // String | (optional) (default to null)
10869
10869
var disableOptimizer = true; // Boolean | (optional) (default to null)
@@ -10872,7 +10872,7 @@ <h3>Usage and SDK Samples</h3>
10872
10872
10873
10873
try {
10874
10874
// Get indexed call trace
10875
- google.api.HttpBody result = apiInstance.getCallTrace(networkId, txIdPeriodtxHash, projectOwner, projectSlug, txIdPeriodsimulationId, txIdPeriodbundleId, disableOptimizer, withInternalCalls, ignoreGasCost);
10875
+ google.api.HttpBody result = apiInstance.getCallTrace(networkId, projectOwner, projectSlug, txIdPeriodtxHash , txIdPeriodsimulationId, txIdPeriodbundleId, disableOptimizer, withInternalCalls, ignoreGasCost);
10876
10876
Debug.WriteLine(result);
10877
10877
} catch (Exception e) {
10878
10878
Debug.Print("Exception when calling DebugAndSimulationApi.getCallTrace: " + e.Message );
@@ -10895,17 +10895,17 @@ <h3>Usage and SDK Samples</h3>
10895
10895
// Create an instance of the API class
10896
10896
$api_instance = new OpenAPITools\Client\Api\DebugAndSimulationApi();
10897
10897
$networkId = networkId_example; // String |
10898
- $txIdPeriodtxHash = txIdPeriodtxHash_example; // String |
10899
10898
$projectOwner = projectOwner_example; // String |
10900
10899
$projectSlug = projectSlug_example; // String |
10900
+ $txIdPeriodtxHash = txIdPeriodtxHash_example; // String | One of txHash, simulationId, bundleId is required.
10901
10901
$txIdPeriodsimulationId = txIdPeriodsimulationId_example; // String |
10902
10902
$txIdPeriodbundleId = txIdPeriodbundleId_example; // String |
10903
10903
$disableOptimizer = true; // Boolean |
10904
10904
$withInternalCalls = true; // Boolean | Fetch the decoded trace, which will give you the function info, decoded parameters of both external and internal call trace.
10905
10905
$ignoreGasCost = true; // Boolean | Only effective when disableOptimizer=true
10906
10906
10907
10907
try {
10908
- $result = $api_instance->getCallTrace($networkId, $txIdPeriodtxHash , $projectOwner , $projectSlug , $txIdPeriodsimulationId, $txIdPeriodbundleId, $disableOptimizer, $withInternalCalls, $ignoreGasCost);
10908
+ $result = $api_instance->getCallTrace($networkId, $projectOwner , $projectSlug , $txIdPeriodtxHash , $txIdPeriodsimulationId, $txIdPeriodbundleId, $disableOptimizer, $withInternalCalls, $ignoreGasCost);
10909
10909
print_r($result);
10910
10910
} catch (Exception $e) {
10911
10911
echo 'Exception when calling DebugAndSimulationApi->getCallTrace: ', $e->getMessage(), PHP_EOL;
@@ -10926,17 +10926,17 @@ <h3>Usage and SDK Samples</h3>
10926
10926
# Create an instance of the API class
10927
10927
my $api_instance = WWW::OPenAPIClient::DebugAndSimulationApi->new();
10928
10928
my $networkId = networkId_example; # String |
10929
- my $txIdPeriodtxHash = txIdPeriodtxHash_example; # String |
10930
10929
my $projectOwner = projectOwner_example; # String |
10931
10930
my $projectSlug = projectSlug_example; # String |
10931
+ my $txIdPeriodtxHash = txIdPeriodtxHash_example; # String | One of txHash, simulationId, bundleId is required.
10932
10932
my $txIdPeriodsimulationId = txIdPeriodsimulationId_example; # String |
10933
10933
my $txIdPeriodbundleId = txIdPeriodbundleId_example; # String |
10934
10934
my $disableOptimizer = true; # Boolean |
10935
10935
my $withInternalCalls = true; # Boolean | Fetch the decoded trace, which will give you the function info, decoded parameters of both external and internal call trace.
10936
10936
my $ignoreGasCost = true; # Boolean | Only effective when disableOptimizer=true
10937
10937
10938
10938
eval {
10939
- my $result = $api_instance->getCallTrace(networkId => $networkId, txIdPeriodtxHash => $txIdPeriodtxHash, projectOwner => $projectOwner, projectSlug => $projectSlug , txIdPeriodsimulationId => $txIdPeriodsimulationId, txIdPeriodbundleId => $txIdPeriodbundleId, disableOptimizer => $disableOptimizer, withInternalCalls => $withInternalCalls, ignoreGasCost => $ignoreGasCost);
10939
+ my $result = $api_instance->getCallTrace(networkId => $networkId, projectOwner => $projectOwner, projectSlug => $projectSlug, txIdPeriodtxHash => $txIdPeriodtxHash , txIdPeriodsimulationId => $txIdPeriodsimulationId, txIdPeriodbundleId => $txIdPeriodbundleId, disableOptimizer => $disableOptimizer, withInternalCalls => $withInternalCalls, ignoreGasCost => $ignoreGasCost);
10940
10940
print Dumper($result);
10941
10941
};
10942
10942
if ($@) {
@@ -10959,9 +10959,9 @@ <h3>Usage and SDK Samples</h3>
10959
10959
# Create an instance of the API class
10960
10960
api_instance = openapi_client.DebugAndSimulationApi()
10961
10961
networkId = networkId_example # String | (default to null)
10962
- txIdPeriodtxHash = txIdPeriodtxHash_example # String | (default to null)
10963
10962
projectOwner = projectOwner_example # String | (optional) (default to null)
10964
10963
projectSlug = projectSlug_example # String | (optional) (default to null)
10964
+ txIdPeriodtxHash = txIdPeriodtxHash_example # String | One of txHash, simulationId, bundleId is required. (optional) (default to null)
10965
10965
txIdPeriodsimulationId = txIdPeriodsimulationId_example # String | (optional) (default to null)
10966
10966
txIdPeriodbundleId = txIdPeriodbundleId_example # String | (optional) (default to null)
10967
10967
disableOptimizer = true # Boolean | (optional) (default to null)
@@ -10970,7 +10970,7 @@ <h3>Usage and SDK Samples</h3>
10970
10970
10971
10971
try:
10972
10972
# Get indexed call trace
10973
- api_response = api_instance.get_call_trace(networkId, txIdPeriodtxHash, projectOwner=projectOwner, projectSlug=projectSlug, txIdPeriodsimulationId=txIdPeriodsimulationId, txIdPeriodbundleId=txIdPeriodbundleId, disableOptimizer=disableOptimizer, withInternalCalls=withInternalCalls, ignoreGasCost=ignoreGasCost)
10973
+ api_response = api_instance.get_call_trace(networkId, projectOwner=projectOwner, projectSlug=projectSlug, txIdPeriodtxHash=txIdPeriodtxHash , txIdPeriodsimulationId=txIdPeriodsimulationId, txIdPeriodbundleId=txIdPeriodbundleId, disableOptimizer=disableOptimizer, withInternalCalls=withInternalCalls, ignoreGasCost=ignoreGasCost)
10974
10974
pprint(api_response)
10975
10975
except ApiException as e:
10976
10976
print("Exception when calling DebugAndSimulationApi->getCallTrace: %s\n" % e)</code></pre>
@@ -10981,17 +10981,17 @@ <h3>Usage and SDK Samples</h3>
10981
10981
10982
10982
pub fn main() {
10983
10983
let networkId = networkId_example; // String
10984
- let txIdPeriodtxHash = txIdPeriodtxHash_example; // String
10985
10984
let projectOwner = projectOwner_example; // String
10986
10985
let projectSlug = projectSlug_example; // String
10986
+ let txIdPeriodtxHash = txIdPeriodtxHash_example; // String
10987
10987
let txIdPeriodsimulationId = txIdPeriodsimulationId_example; // String
10988
10988
let txIdPeriodbundleId = txIdPeriodbundleId_example; // String
10989
10989
let disableOptimizer = true; // Boolean
10990
10990
let withInternalCalls = true; // Boolean
10991
10991
let ignoreGasCost = true; // Boolean
10992
10992
10993
10993
let mut context = DebugAndSimulationApi::Context::default();
10994
- let result = client.getCallTrace(networkId, txIdPeriodtxHash, projectOwner, projectSlug, txIdPeriodsimulationId, txIdPeriodbundleId, disableOptimizer, withInternalCalls, ignoreGasCost, &context).wait();
10994
+ let result = client.getCallTrace(networkId, projectOwner, projectSlug, txIdPeriodtxHash , txIdPeriodsimulationId, txIdPeriodbundleId, disableOptimizer, withInternalCalls, ignoreGasCost, &context).wait();
10995
10995
10996
10996
println!("{:?}", result);
10997
10997
}
@@ -11070,7 +11070,7 @@ <h2>Parameters</h2>
11070
11070
</td>
11071
11071
</tr>
11072
11072
11073
- <tr><td style="width:150px;">txId.txHash* </td>
11073
+ <tr><td style="width:150px;">txId.txHash</td>
11074
11074
<td>
11075
11075
11076
11076
@@ -11081,10 +11081,10 @@ <h2>Parameters</h2>
11081
11081
String
11082
11082
</span>
11083
11083
11084
+ <div class="inner description marked">
11085
+ One of txHash, simulationId, bundleId is required.
11086
+ </div>
11084
11087
</div>
11085
- <div class="inner required">
11086
- Required
11087
- </div>
11088
11088
</div>
11089
11089
</div>
11090
11090
</td>
0 commit comments