Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add get_full_transactions_by_time #39

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,17 @@ function getTransactionsByTime(array $params = [])
return $this->request("GET", "/v1/custody/transactions_by_time/", $params);
}

/***
* Get transactions by time ex
* @param array $params
* @return mixed|string
* @throws Exception
*/
function getTransactionsByTimeEx(array $params = [])
{
return $this->request("GET", "/v1/custody/transactions_by_time_ex/", $params);
}

/***
* Get Pending Transactions
* @param array $params
Expand Down
9 changes: 9 additions & 0 deletions ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,15 @@ public function testGetTransactionsByTime()
$this->assertTrue($res->success);
}

/**
* @throws Exception
*/
public function testGetTransactionsByTimeEx()
{
$res = $this->client->getTransactionsByTimeEx();
$this->assertTrue($res->success);
}

/**
* @throws Exception
*/
Expand Down
Loading