'Sends this transaction using the provided AS API interface.
Args:
as_api(ApplicationServiceApi): The API to use to send.
Returns:
A Deferred which resolves to True if the transaction was sent.'

def send(self, as_api):

    return as_api.push_bulk(service=self.service, events=self.events, txn_id=self.id)
